-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
72 lines (72 loc) · 1.91 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
{
"name": "@mswjs/http-middleware",
"version": "0.10.2",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"author": {
"name": "Artem Zakharchenko",
"url": "https://github.com/kettanaito"
},
"contributors": [
{
"name": "David Idol",
"url": "https://github.com/idolize"
}
],
"license": "MIT",
"scripts": {
"start": "tsc -w -p ./tsconfig.src.json",
"test": "vitest",
"lint": "eslint \"{examples,src,test}/**/*.ts\"",
"clean": "rimraf ./lib",
"build": "pnpm clean && tsc -p ./tsconfig.src.json",
"example-build": "pnpm build && cd examples && rimraf ./lib && tsc && cp -R public lib/examples/public",
"example:basic": "pnpm example-build && node examples/lib/examples/basic-server.js",
"example:custom": "pnpm example-build && node examples/lib/examples/custom-server.js",
"release": "release publish",
"prepare": "husky install",
"prepublishOnly": "pnpm lint && pnpm test && pnpm build"
},
"lint-staged": {
"*.ts": [
"eslint"
]
},
"homepage": "https://mswjs.io",
"repository": {
"type": "git",
"url": "https://github.com/mswjs/http-middleware"
},
"files": [
"lib"
],
"dependencies": {
"express": "^4.18.2",
"strict-event-emitter": "^0.5.1"
},
"devDependencies": {
"@open-draft/test-server": "0.4.x",
"@ossjs/release": "^0.8.0",
"@types/express": "^4.17.17",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"msw": "^2.5.1",
"prettier": "^3.3.3",
"rimraf": "^4.4.0",
"typescript": "^5.6.3",
"vitest": "^2.1.3"
},
"peerDependencies": {
"msw": ">=2.0.0"
},
"engines": {
"node": ">=18"
},
"packageManager": "[email protected]"
}