-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
99 lines (99 loc) · 3.03 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
{
"version": "0.0.0",
"private": true,
"scripts": {
"sort-package-json": "npx sort-package-json \"packages/*/package.json\"",
"preinstall": "npx only-allow pnpm",
"dev": "pnpm -r --filter=./packages/** --parallel run dev",
"build": "pnpm -r --filter=./packages/** run build",
"build:test": "pnpm -r --filter=./packages/** run build:test",
"clean": "pnpm -r --filter=./packages/** run clean",
"format": "biome format . --write",
"lint": "biome check . --diagnostic-level=warn",
"publint": "pnpm -r --filter='vite-plugin-checker' exec publint",
"test": "run-s test-unit test-serve test-build",
"test-unit": "vitest run",
"test-serve": "vitest run -c vitest.config.e2e.ts",
"test-build": "cross-env-shell VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
"test-serve-cjs": "cross-env VITEST_TEST_CJS=1 pnpm run test-serve",
"test-build-cjs": "cross-env VITEST_TEST_CJS=1 pnpm run test-build",
"test-unit:watch": "vitest",
"type-check": "pnpm -r --parallel --filter \"vite-plugin-checker\" exec tsc --noEmit",
"docs:dev": "pnpm --filter docs run dev",
"docs:build": "pnpm --filter docs run build"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"package.json": "sort-package-json",
"packages/**/*.{js,ts}": [
"biome check --write"
]
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@changesets/cli": "^2.27.7",
"@tsconfig/esm": "^1.0.5",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/strictest": "^2.0.5",
"@types/babel__code-frame": "^7.0.6",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.1",
"@types/klaw": "^3.0.3",
"@types/minimist": "^1.2.2",
"@types/node": "^16.0.0",
"@types/prompts": "^2.0.13",
"@types/rimraf": "^3.0.0",
"@types/ws": "^8.5.3",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"execa": "^5.1.1",
"fast-glob": "^3.2.7",
"fast-json-stable-stringify": "^2.1.0",
"fs-extra": "^11.1.0",
"klaw": "^4.0.1",
"lint-staged": "^11.0.0",
"minimist": "^1.2.5",
"npm-run-all2": "^5.0.0",
"playwright-chromium": "^1.24.0",
"prompts": "^2.4.1",
"publint": "^0.1.9",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"sort-deep-object-arrays": "^1.1.2",
"sort-package-json": "^2.10.0",
"strip-ansi": "^7.0.0",
"tiny-invariant": "^1.1.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite-plugin-checker": "workspace:*",
"vitest": "^1.6.0",
"ws": "^8.5.0"
},
"packageManager": "[email protected]",
"engines": {
"npm": "forbidden, use pnpm",
"pnpm": "^9.0.0",
"yarn": "forbidden, use pnpm"
},
"pnpm": {
"packageExtensions": {
"@baiwusanyu/utils-com": {
"dependencies": {
"hash-sum": "*"
}
},
"@baiwusanyu/utils-log": {
"dependencies": {
"ansi-colors": "^4.1.3"
}
},
"@baiwusanyu/utils-task": {
"dependencies": {
"@baiwusanyu/utils-log": "*"
}
}
}
}
}