-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
149 lines (149 loc) · 3.83 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "msw",
"version": "0.42.1",
"description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"bin": {
"msw": "cli/index.js"
},
"engines": {
"node": ">=14"
},
"scripts": {
"start": "tsup --watch",
"clean": "rimraf ./lib",
"lint": "eslint \"{cli,config,src,test}/**/*.ts\"",
"build": "cross-env NODE_ENV=production tsup",
"test": "yarn test:unit && yarn test:integration",
"test:unit": "cross-env BABEL_ENV=test jest --maxWorkers=3",
"test:integration": "jest --config=./test/jest.config.js --maxWorkers=1",
"test:smoke": "./config/scripts/smoke.sh",
"test:ts": "yarn tsc -p ./test/typings/tsconfig.json",
"prepare": "yarn simple-git-hooks init",
"prepack": "yarn build",
"release": "release publish",
"postinstall": "node -e \"try{require('./config/scripts/postinstall')}catch(e){}\""
},
"lint-staged": {
"*.ts": [
"eslint"
]
},
"homepage": "https://mswjs.io",
"repository": {
"type": "git",
"url": "https://github.com/mswjs/msw"
},
"author": {
"name": "Artem Zakharchenko",
"url": "https://github.com/kettanaito"
},
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mswjs"
},
"files": [
"config/constants.js",
"config/scripts/postinstall.js",
"cli",
"lib",
"native",
"node",
"LICENSE.md",
"README.md"
],
"keywords": [
"api",
"mock",
"mocking",
"worker",
"prototype",
"server",
"service",
"handler"
],
"sideEffects": false,
"dependencies": {
"@mswjs/cookies": "^0.2.0",
"@mswjs/interceptors": "^0.16.3",
"@open-draft/until": "^1.0.3",
"@types/cookie": "^0.4.1",
"@types/js-levenshtein": "^1.1.1",
"chalk": "4.1.1",
"chokidar": "^3.4.2",
"cookie": "^0.4.2",
"graphql": "^16.3.0",
"headers-polyfill": "^3.0.4",
"inquirer": "^8.2.0",
"is-node-process": "^1.0.1",
"js-levenshtein": "^1.1.6",
"node-fetch": "^2.6.7",
"outvariant": "^1.3.0",
"path-to-regexp": "^6.2.0",
"statuses": "^2.0.0",
"strict-event-emitter": "^0.2.0",
"type-fest": "^1.2.2",
"yargs": "^17.3.1"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/preset-env": "^7.16.11",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@open-draft/test-server": "^0.2.3",
"@ossjs/release": "^0.3.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "26",
"@types/json-bigint": "^1.0.1",
"@types/node": "^14.14.31",
"@types/node-fetch": "^2.5.11",
"@types/puppeteer": "^5.4.4",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"babel-loader": "^8.2.3",
"babel-minify": "^0.5.1",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cross-fetch": "^3.1.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"fs-extra": "^10.0.0",
"fs-teardown": "^0.3.0",
"jest": "26",
"json-bigint": "^1.0.0",
"lint-staged": "^11.0.1",
"page-with": "^0.5.0",
"prettier": "^2.3.2",
"regenerator-runtime": "^0.13.9",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.7.0",
"ts-jest": "26",
"ts-loader": "^9.2.6",
"ts-node": "^10.1.0",
"tsup": "^5.12.8",
"typescript": "^4.7.2",
"url-loader": "^4.1.1",
"webpack": "^5.68.0",
"webpack-dev-server": "^3.11.2"
},
"peerDependencies": {
"typescript": ">= 4.2.x <= 4.7.x"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"resolutions": {
"chokidar": "3.4.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}