-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 2.28 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
{
"$schema": "https://json.schemastore.org/package",
"name": "msw-devtools",
"scripts": {
"format": "prettier --write .",
"lint": "pnpm --filter \"./{packages,apps}/**\" lint",
"lint:fix": "pnpm --filter \"./{packages,apps}/**\" lint:fix",
"type-check": "pnpm --filter \"./{packages,apps}/**\" type-check",
"coverage": "pnpm --filter \"./packages/**\" coverage --silent",
"test": "vitest",
"test:ui": "vitest --ui",
"docs:dev": "pnpm --filter docs dev",
"prepare": "husky",
"build": "pnpm build:package && pnpm build:server",
"build:development": "NODE_ENV=development pnpm build",
"build:package": "pnpm --filter @custardcream/msw-devtools build",
"build:package:watch": "pnpm --filter @custardcream/msw-devtools build:watch",
"build:server": "pnpm --filter @custardcream/msw-devtools-server build",
"build:server:watch": "pnpm --filter @custardcream/msw-devtools-server build:watch",
"build:playground": "pnpm build:package && pnpm --filter playground build",
"dev": "concurrently -k -s first -n \"PACKAGE,PLAYGROUND\" -c \"magenta,orange,blue\" \"NODE_ENV=development pnpm build:package:watch\" \"pnpm --filter playground dev\"",
"ci:version": "pnpm changeset version",
"ci:publish": "pnpm sync-readme && pnpm build && pnpm changeset publish",
"ci:check": "pnpm lint && pnpm type-check && pnpm coverage",
"sync-readme": "cp ./README.md packages/msw-devtools/README.md && mkdir -p packages/msw-devtools/README/EN && cp -r ./README/EN packages/msw-devtools/README",
"playground": "pnpm --filter playground dev",
"playground:vue": "pnpm --filter playground-vue dev",
"e2e": "pnpm --filter playground exec playwright test",
"e2e:ui": "pnpm --filter playground exec playwright test --ui",
"e2e:ci": "pnpm --filter playground exec playwright test"
},
"devDependencies": {
"@changesets/cli": "^2.27.9",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@vitest/expect": "^2.1.4",
"@vitest/ui": "^2.1.4",
"concurrently": "^9.0.1",
"happy-dom": "^15.11.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
},
"packageManager": "[email protected]"
}