-
-
Notifications
You must be signed in to change notification settings - Fork 237
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.58 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.58 KB
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
{
"name": "@vitejs/vite-plugin-react-monorepo",
"private": true,
"keywords": [
"build-tool",
"dev-server",
"frontend",
"hmr",
"react",
"vite"
],
"homepage": "https://github.com/vitejs/vite-plugin-react/",
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"format": "oxfmt",
"lint": "eslint --cache .",
"typecheck": "tsc -p scripts && tsc -p playground && tsc -p packages/plugin-react",
"test": "pnpm run test-unit && pnpm run test-serve && pnpm run test-build && pnpm --filter ./packages/plugin-react-swc run test",
"test-unit": "pnpm -r --filter='./packages/*' run test-unit",
"test-serve": "vitest run -c playground/vitest.config.e2e.ts",
"test-build": "VITE_TEST_BUILD=1 vitest run -c playground/vitest.config.e2e.ts",
"debug-serve": "VITE_DEBUG_SERVE=1 vitest run -c playground/vitest.config.e2e.ts",
"debug-build": "VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 vitest run -c playground/vitest.config.e2e.ts",
"build": "pnpm -r --filter='./packages/*' run build",
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
"release": "node scripts/release.ts",
"ci-publish": "node scripts/publishCI.ts",
"override-vite7": "yq -i '.overrides.vite = \"^7\"' pnpm-workspace.yaml && yq -i '.overrides.\"@vitejs/plugin-react\" = \"^5\"' pnpm-workspace.yaml && yq -i '.packages += [\"!packages/plugin-react\"]' pnpm-workspace.yaml"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.12.0",
"@vitejs/release-scripts": "^1.6.0",
"eslint": "^9.39.4",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-n": "^17.24.0",
"eslint-plugin-regexp": "^3.1.0",
"fs-extra": "^11.3.4",
"globals": "^17.4.0",
"lint-staged": "^16.4.0",
"oxfmt": "^0.40.0",
"picocolors": "^1.1.1",
"playwright-chromium": "^1.58.2",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "^11.3.3",
"vitest": "^4.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
},
"lint-staged": {
"*": [
"oxfmt --no-error-on-unmatched-pattern"
],
"packages/*/{src,types}/**/*.ts": [
"eslint --cache --fix"
],
"packages/**/*.d.ts": [
"eslint --cache --fix"
],
"playground/**/__tests__/**/*.ts": [
"eslint --cache --fix"
]
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"packageManager": "pnpm@10.32.1"
}