forked from mswjs/msw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 3.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
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
{
"name": "msw",
"version": "0.36.1",
"description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
"main": "lib/umd/index.js",
"module": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"bin": {
"msw": "cli/index.js"
},
"scripts": {
"start": "cross-env NODE_ENV=development rollup -c rollup.config.ts -w",
"clean": "rimraf lib {native,node}/lib",
"lint": "eslint \"{cli,config,src,test}/**/*.ts\"",
"build": "yarn clean && yarn lint && cross-env NODE_ENV=production rollup -c rollup.config.ts && yarn test:ts",
"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=3",
"test:smoke": "config/scripts/smoke.sh",
"test:ts": "tsc -p test/typings/tsconfig.json",
"test:focused": "node node_modules/ts-node/dist/bin.js --project=test/tsconfig.json test/focusedTest.ts",
"prepublishOnly": "yarn lint && yarn test:unit && yarn build && yarn test:integration",
"prepare": "husky install",
"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.1.6",
"@mswjs/interceptors": "^0.12.7",
"@open-draft/until": "^1.0.3",
"@types/cookie": "^0.4.1",
"@types/inquirer": "^8.1.3",
"@types/js-levenshtein": "^1.1.0",
"chalk": "4.1.1",
"chokidar": "^3.4.2",
"cookie": "^0.4.1",
"graphql": "^15.5.1",
"headers-utils": "^3.0.2",
"inquirer": "^8.2.0",
"is-node-process": "^1.0.1",
"js-levenshtein": "^1.1.6",
"node-fetch": "^2.6.1",
"path-to-regexp": "^6.2.0",
"statuses": "^2.0.0",
"strict-event-emitter": "^0.2.0",
"type-fest": "^1.2.2",
"yargs": "^17.3.0"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@open-draft/test-server": "^0.2.3",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-inject": "^4.0.3",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"@types/fs-extra": "^9.0.12",
"@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": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"babel-loader": "^8.2.3",
"babel-minify": "^0.5.1",
"cross-env": "^7.0.3",
"cross-fetch": "^3.1.4",
"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",
"husky": "^5.1.1",
"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",
"rollup": "^2.60.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "26",
"ts-loader": "^9.2.6",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
"url-loader": "^4.1.1",
"webpack": "^5.64.4",
"webpack-dev-server": "^3.11.2"
},
"resolutions": {
"chokidar": "3.4.1"
}
}