forked from mswjs/msw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.54 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
{
"name": "msw",
"version": "0.24.2",
"description": "Seamless REST/GraphQL API mocking library for browser and Node.",
"main": "lib/umd/index.js",
"module": "lib/esm/index.js",
"types": "lib/types",
"bin": {
"msw": "cli/index.js"
},
"scripts": {
"start": "cross-env NODE_ENV=development rollup -c rollup.config.ts -w",
"clean": "rimraf lib node/**/*.js",
"lint": "eslint \"{cli,config,src,test}/**/*.ts\"",
"build": "yarn clean && cross-env NODE_ENV=production rollup -c rollup.config.ts",
"test": "yarn test:unit && yarn test:integration",
"test:unit": "cross-env BABEL_ENV=test jest --runInBand",
"test:integration": "node --max_old_space_size=8000 node_modules/jest/bin/jest.js --config=test/jest.config.js --runInBand",
"test:smoke": "config/scripts/smoke.sh",
"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"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"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",
"files": [
"config/constants.js",
"cli",
"lib",
"native",
"node",
"LICENSE.md",
"README.md"
],
"keywords": [
"api",
"mock",
"mocking",
"worker",
"prototype",
"server",
"service",
"handler"
],
"sideEffects": false,
"dependencies": {
"@open-draft/until": "^1.0.3",
"@types/cookie": "^0.4.0",
"chalk": "^4.1.0",
"chokidar": "^3.4.2",
"cookie": "^0.4.1",
"graphql": "^15.4.0",
"headers-utils": "^1.2.0",
"node-fetch": "^2.6.1",
"node-match-path": "^0.6.0",
"node-request-interceptor": "^0.5.3",
"statuses": "^2.0.0",
"yargs": "^16.1.1"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@types/express": "^4.17.9",
"@types/fs-extra": "^9.0.4",
"@types/jest": "^26.0.15",
"@types/json-bigint": "^1.0.0",
"@types/node": "^14.14.8",
"@types/node-fetch": "^2.5.7",
"@types/puppeteer": "^5.4.0",
"@types/webpack-dev-server": "^3.11.1",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"apollo-fetch": "^0.7.0",
"babel-loader": "^8.2.1",
"babel-minify": "^0.5.1",
"cross-env": "^7.0.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"express": "^4.17.1",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"ignore-loader": "^0.1.2",
"jest": "^26.6.3",
"json-bigint": "^1.0.0",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"puppeteer": "^5.5.0",
"regenerator-runtime": "^0.13.7",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.11",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"url-loader": "^4.1.1",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"resolutions": {
"chokidar": "3.4.1"
}
}