2020-04-20 04:00:10 -04:00
|
|
|
{
|
2020-12-06 18:21:10 -05:00
|
|
|
"name": "@vitejs/vite-monorepo",
|
|
|
|
|
"private": true,
|
2023-04-05 11:43:16 +02:00
|
|
|
"type": "module",
|
2021-06-11 17:46:17 +02:00
|
|
|
"engines": {
|
2025-05-21 21:26:59 +09:00
|
|
|
"node": "^20.19.0 || >=22.12.0"
|
2021-06-11 17:46:17 +02:00
|
|
|
},
|
2024-10-04 15:42:06 +08:00
|
|
|
"homepage": "https://vite.dev/",
|
2023-05-18 11:34:53 +02:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/vitejs/vite.git"
|
|
|
|
|
},
|
2022-01-21 16:41:47 -03:00
|
|
|
"keywords": [
|
|
|
|
|
"frontend",
|
|
|
|
|
"hmr",
|
|
|
|
|
"dev-server",
|
|
|
|
|
"build-tool",
|
|
|
|
|
"vite"
|
|
|
|
|
],
|
2020-12-08 05:55:12 -05:00
|
|
|
"scripts": {
|
2021-11-11 16:17:24 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2022-06-26 00:33:50 +08:00
|
|
|
"postinstall": "simple-git-hooks",
|
2026-03-06 21:14:15 +08:00
|
|
|
"format": "prettier --write --cache . --experimental-cli",
|
|
|
|
|
"lint": "eslint --cache . --concurrency auto",
|
2025-05-30 11:47:07 +02:00
|
|
|
"typecheck": "tsc -p scripts && pnpm -r --parallel run typecheck",
|
2024-09-12 17:33:28 +08:00
|
|
|
"test": "pnpm test-unit && pnpm test-serve && pnpm test-build",
|
2022-05-11 14:33:20 +08:00
|
|
|
"test-serve": "vitest run -c vitest.config.e2e.ts",
|
2022-09-07 16:00:54 +08:00
|
|
|
"test-build": "VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
|
2022-05-06 16:00:31 +08:00
|
|
|
"test-unit": "vitest run",
|
2022-05-25 22:48:33 +08:00
|
|
|
"test-docs": "pnpm run docs-build",
|
2022-09-07 16:00:54 +08:00
|
|
|
"debug-serve": "VITE_DEBUG_SERVE=1 vitest run -c vitest.config.e2e.ts",
|
|
|
|
|
"debug-build": "VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 vitest run -c vitest.config.e2e.ts",
|
2025-09-20 22:00:45 +09:00
|
|
|
"docs": "pnpm --filter=./docs run docs",
|
|
|
|
|
"docs-build": "pnpm --filter=./docs run docs-build",
|
|
|
|
|
"docs-serve": "pnpm --filter=./docs run docs-serve",
|
2022-09-07 16:00:54 +08:00
|
|
|
"build": "pnpm -r --filter='./packages/*' run build",
|
|
|
|
|
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
|
2022-06-26 00:33:50 +08:00
|
|
|
"release": "tsx scripts/release.ts",
|
|
|
|
|
"ci-publish": "tsx scripts/publishCI.ts",
|
2026-03-13 16:05:02 +09:00
|
|
|
"ci-docs": "pnpm build && pnpm docs-build",
|
|
|
|
|
"merge-changelog": "tsx scripts/mergeChangelog.ts"
|
2020-12-08 05:55:12 -05:00
|
|
|
},
|
2020-04-20 19:13:22 -04:00
|
|
|
"devDependencies": {
|
2026-03-09 20:09:04 +09:00
|
|
|
"@eslint/js": "^9.39.4",
|
2024-09-04 11:27:09 +02:00
|
|
|
"@type-challenges/utils": "^0.1.1",
|
2023-11-27 12:15:40 +08:00
|
|
|
"@types/babel__core": "^7.20.5",
|
2025-01-27 11:28:34 +09:00
|
|
|
"@types/babel__preset-env": "^7.10.0",
|
2023-11-13 09:25:20 +01:00
|
|
|
"@types/convert-source-map": "^2.0.3",
|
2023-11-27 12:15:40 +08:00
|
|
|
"@types/cross-spawn": "^6.0.6",
|
2025-06-11 18:07:09 +09:00
|
|
|
"@types/etag": "^1.8.4",
|
2025-02-03 15:52:53 +01:00
|
|
|
"@types/less": "^3.0.8",
|
2026-03-09 20:09:04 +09:00
|
|
|
"@types/node": "^24.12.0",
|
2025-08-05 14:17:20 +09:00
|
|
|
"@types/picomatch": "^4.0.2",
|
2024-09-17 15:08:40 +09:00
|
|
|
"@types/stylus": "^0.48.43",
|
2025-04-17 17:49:53 +09:00
|
|
|
"@types/ws": "^8.18.1",
|
2025-07-03 16:24:19 +09:00
|
|
|
"@vitejs/release-scripts": "^1.6.0",
|
2026-03-09 20:09:04 +09:00
|
|
|
"eslint": "^9.39.4",
|
2026-03-16 13:37:37 +09:00
|
|
|
"eslint-plugin-import-x": "^4.16.2",
|
2026-02-24 14:44:54 +09:00
|
|
|
"eslint-plugin-n": "^17.24.0",
|
2026-03-09 20:09:04 +09:00
|
|
|
"eslint-plugin-regexp": "^3.1.0",
|
2025-12-01 14:16:32 +09:00
|
|
|
"execa": "^9.6.1",
|
2026-03-02 12:55:10 +09:00
|
|
|
"globals": "^17.4.0",
|
2026-03-16 13:37:37 +09:00
|
|
|
"lint-staged": "^16.4.0",
|
2024-10-21 13:06:14 +09:00
|
|
|
"picocolors": "^1.1.1",
|
2026-02-09 20:13:17 +09:00
|
|
|
"playwright-chromium": "^1.58.2",
|
2026-01-26 14:42:45 +09:00
|
|
|
"prettier": "3.8.1",
|
2026-03-26 10:51:50 +08:00
|
|
|
"rolldown": "1.0.0-rc.12",
|
2026-03-04 08:56:09 +08:00
|
|
|
"rollup": "^4.59.0",
|
2025-08-05 14:17:20 +09:00
|
|
|
"simple-git-hooks": "^2.13.1",
|
2025-12-01 14:16:32 +09:00
|
|
|
"tsx": "^4.21.0",
|
2025-12-02 03:18:39 +00:00
|
|
|
"typescript": "~5.9.3",
|
2026-03-23 11:32:22 +09:00
|
|
|
"typescript-eslint": "^8.57.1",
|
2021-11-06 11:28:17 +01:00
|
|
|
"vite": "workspace:*",
|
2026-03-16 13:37:37 +09:00
|
|
|
"vitest": "^4.1.0"
|
2020-12-08 02:00:53 -05:00
|
|
|
},
|
2022-01-05 20:48:11 +06:30
|
|
|
"simple-git-hooks": {
|
2022-12-14 22:12:02 +01:00
|
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
2020-12-08 02:00:53 -05:00
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
2021-07-28 07:11:23 +02:00
|
|
|
"*": [
|
2026-03-06 21:14:15 +08:00
|
|
|
"prettier --write --cache --ignore-unknown --experimental-cli"
|
2020-12-08 02:00:53 -05:00
|
|
|
],
|
2021-07-28 07:11:23 +02:00
|
|
|
"packages/*/{src,types}/**/*.ts": [
|
2026-03-06 21:14:15 +08:00
|
|
|
"eslint --cache --fix --concurrency auto"
|
2021-01-16 12:13:59 -07:00
|
|
|
],
|
2021-07-28 07:11:23 +02:00
|
|
|
"packages/**/*.d.ts": [
|
2026-03-06 21:14:15 +08:00
|
|
|
"eslint --cache --fix --concurrency auto"
|
2022-05-11 16:44:14 +08:00
|
|
|
],
|
|
|
|
|
"playground/**/__tests__/**/*.ts": [
|
2026-03-06 21:14:15 +08:00
|
|
|
"eslint --cache --fix --concurrency auto"
|
2020-12-08 02:00:53 -05:00
|
|
|
]
|
2021-09-24 16:21:04 -04:00
|
|
|
},
|
2026-03-16 13:37:37 +09:00
|
|
|
"packageManager": "pnpm@10.32.1",
|
2023-01-16 06:21:28 +01:00
|
|
|
"stackblitz": {
|
|
|
|
|
"startCommand": "pnpm --filter='./packages/vite' run dev"
|
2020-04-20 04:00:10 -04:00
|
|
|
}
|
|
|
|
|
}
|