forked from kentcdodds/msw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.12 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
{
"name": "msw",
"version": "0.19.4",
"description": "Client-side API mocking using Service Workers.",
"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/.bin/jest --config=test/jest.config.js --runInBand",
"test:focused": "node_modules/.bin/ts-node --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",
"node",
"LICENSE.md",
"README.md"
],
"keywords": [
"api",
"mock",
"mocking",
"worker",
"prototype",
"server",
"service",
"handler"
],
"sideEffects": false,
"dependencies": {
"@open-draft/until": "^1.0.0",
"@types/cookie": "^0.3.3",
"chalk": "^4.0.0",
"cookie": "^0.4.1",
"graphql": "^15.0.0",
"headers-utils": "^1.1.9",
"node-match-path": "^0.4.2",
"node-request-interceptor": "^0.2.5",
"statuses": "^2.0.0",
"yargs": "^15.3.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.2",
"@types/jest": "^25.2.1",
"@types/node": "^13.7.7",
"@types/node-fetch": "^2.5.7",
"@types/puppeteer": "^2.0.1",
"@types/webpack-dev-server": "^3.10.1",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"apollo-fetch": "^0.7.0",
"babel-loader": "^8.1.0",
"babel-minify": "^0.5.1",
"cross-env": "^7.0.0",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"html-webpack-plugin": "^4.2.1",
"husky": "^4.2.5",
"ignore-loader": "^0.1.2",
"jest": "^25.4.0",
"lint-staged": "^10.2.6",
"node-fetch": "^2.6.0",
"prettier": "^2.0.5",
"puppeteer": "^3.0.2",
"regenerator-runtime": "^0.13.5",
"rimraf": "^3.0.2",
"rollup": "^2.7.3",
"rollup-plugin-typescript2": "^0.27.0",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.1",
"ts-node": "^8.9.1",
"typescript": "^3.7.5",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
}
}