-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
72 lines (72 loc) · 1.89 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
{
"name": "@iodigital/vite-plugin-msw",
"description": "Mock Service Worker browser and node integration for Vite",
"version": "2.0.0",
"author": {
"name": "iO",
"website": "https://iodigital.com"
},
"repository": "/~https://github.com/iodigital-com/vite-plugin-msw",
"keywords": [
"msw",
"vite",
"mock service worker"
],
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
}
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "unbuild --watch",
"build": "unbuild",
"test": "run-s test:*",
"test:format": "prettier -w .",
"test:type": "tsc --noEmit",
"test:lint": "eslint --ext .js,.ts --fix --ignore-path .gitignore .",
"test:e2e": "cross-env PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1 playwright test -c tests/playwright.config.ts",
"prepare": "husky install",
"prepublishOnly": "run-s test:* build"
},
"dependencies": {
"@mswjs/interceptors": "^0.25.7",
"body-parser": "^1.20.2",
"fs-extra": "^11.1.1",
"headers-polyfill": "^4.0.2",
"strict-event-emitter": "^0.5.1"
},
"peerDependencies": {
"msw": "^2.0.0"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@rushstack/eslint-patch": "^1.5.1",
"@types/body-parser": "^1.19.4",
"@types/connect": "^3.4.37",
"@types/fs-extra": "^11.0.3",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"cross-env": "^7.0.3",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"msw": "^2.0.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.39.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "^4.5.0"
},
"workspaces": [
"examples/**"
]
}