-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 1.63 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "fake-api-middleware",
"version": "0.1.8",
"description": "Express/Connect middleware for dummy responses",
"keywords": [
"middleware",
"mock-api",
"fake-api",
"dummy-api",
"mock",
"express",
"connect",
"webpack",
"vite"
],
"author": "Avin Lambrero <avin.github@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/avin/fake-api-middleware"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"prepublishOnly": "npm run build && npm run test",
"test": "vitest --run",
"test:watch": "vitest"
},
"dependencies": {
"chokidar": "^3.5.3",
"co-body": "^6.1.0",
"esbuild": "^0.16.15",
"path-to-regexp": "^6.2.1"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"connect": "^3.7.0",
"eslint": "^8.31.0",
"prettier": "^2.8.1",
"supertest": "^6.3.3",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"vitest": "^0.27.1"
},
"tsup": {
"entry": [
"src/index.ts"
],
"sourcemap": false,
"dts": {
"compilerOptions": {
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
}
},
"splitting": false,
"clean": true,
"format": [
"esm",
"cjs"
]
}
}