/
package.json
77 lines (77 loc) · 2.02 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
{
"name": "@mswjs/http-middleware",
"version": "0.10.1",
"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",
"test": "jest",
"lint": "eslint \"{examples,src,test}/**/*.ts\"",
"clean": "rimraf ./lib",
"build": "pnpm clean && tsc",
"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/jest": "^27.0.2",
"@types/node": "^20.8.7",
"@types/node-fetch": "^2.5.11",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^11.2.6",
"msw": "^2.0.0",
"node-fetch": "^2.6.1",
"prettier": "^2.8.4",
"rimraf": "^4.4.0",
"ts-jest": "^29.1.1",
"typescript": "^5.0.0"
},
"peerDependencies": {
"msw": ">=2.0.0"
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@7.12.2"
}