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": {
|
2024-11-22 11:41:25 +08:00
|
|
|
"node": "^18.0.0 || ^20.0.0 || >=22.0.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",
|
2022-06-15 01:15:41 +09:00
|
|
|
"format": "prettier --write --cache .",
|
2022-08-01 14:39:26 +09:00
|
|
|
"lint": "eslint --cache .",
|
2022-12-15 08:08:09 +01:00
|
|
|
"typecheck": "tsc -p scripts --noEmit && 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",
|
2024-03-15 17:24:38 +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",
|
2024-09-12 17:33:28 +08:00
|
|
|
"ci-docs": "pnpm build && pnpm docs-build"
|
2020-12-08 05:55:12 -05:00
|
|
|
},
|
2020-04-20 19:13:22 -04:00
|
|
|
"devDependencies": {
|
2025-03-10 13:00:11 +09:00
|
|
|
"@eslint/js": "^9.22.0",
|
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",
|
2023-11-13 09:25:20 +01:00
|
|
|
"@types/debug": "^4.1.12",
|
2024-09-25 16:09:54 +02:00
|
|
|
"@types/estree": "^1.0.6",
|
2023-11-13 09:25:20 +01:00
|
|
|
"@types/etag": "^1.8.3",
|
2025-02-03 15:52:53 +01:00
|
|
|
"@types/less": "^3.0.8",
|
2025-03-03 14:36:44 +09:00
|
|
|
"@types/node": "^22.13.6",
|
2025-04-07 16:52:48 +09:00
|
|
|
"@types/picomatch": "^4.0.0",
|
2024-09-17 15:08:40 +09:00
|
|
|
"@types/stylus": "^0.48.43",
|
2025-03-10 13:00:11 +09:00
|
|
|
"@types/ws": "^8.18.0",
|
2025-01-23 16:40:43 +01:00
|
|
|
"@vitejs/release-scripts": "^1.3.3",
|
2024-05-08 13:10:06 +02:00
|
|
|
"conventional-changelog-cli": "^5.0.0",
|
2025-03-10 13:00:11 +09:00
|
|
|
"eslint": "^9.22.0",
|
2025-03-17 19:53:45 +09:00
|
|
|
"eslint-plugin-import-x": "^4.8.0",
|
2025-03-10 13:00:11 +09:00
|
|
|
"eslint-plugin-n": "^17.16.2",
|
2024-11-19 12:58:59 +09:00
|
|
|
"eslint-plugin-regexp": "^2.7.0",
|
2024-12-09 11:32:11 +09:00
|
|
|
"execa": "^9.5.2",
|
2025-03-03 11:48:52 +09:00
|
|
|
"globals": "^16.0.0",
|
2025-01-27 11:28:34 +09:00
|
|
|
"gsap": "^3.12.7",
|
2025-03-17 19:53:45 +09:00
|
|
|
"lint-staged": "^15.5.0",
|
2024-10-21 13:06:14 +09:00
|
|
|
"picocolors": "^1.1.1",
|
2025-02-03 15:52:53 +01:00
|
|
|
"playwright-chromium": "^1.50.1",
|
2024-10-29 05:51:44 +08:00
|
|
|
"premove": "^4.0.0",
|
2025-03-03 14:36:44 +09:00
|
|
|
"prettier": "3.5.3",
|
2025-03-26 10:39:09 +09:00
|
|
|
"rollup": "^4.34.9",
|
2025-03-03 14:36:44 +09:00
|
|
|
"rollup-plugin-esbuild": "^6.2.1",
|
2024-03-26 09:00:34 +01:00
|
|
|
"simple-git-hooks": "^2.11.1",
|
2024-11-04 11:48:40 +08:00
|
|
|
"tslib": "^2.8.1",
|
2025-02-19 12:46:53 +09:00
|
|
|
"tsx": "^4.19.3",
|
2024-12-25 11:03:24 +09:00
|
|
|
"typescript": "~5.7.2",
|
2025-03-17 19:53:45 +09:00
|
|
|
"typescript-eslint": "^8.26.1",
|
2021-11-06 11:28:17 +01:00
|
|
|
"vite": "workspace:*",
|
2025-03-10 13:00:11 +09:00
|
|
|
"vitest": "^3.0.8"
|
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
|
|
|
"*": [
|
2022-06-15 01:15:41 +09:00
|
|
|
"prettier --write --cache --ignore-unknown"
|
2020-12-08 02:00:53 -05:00
|
|
|
],
|
2021-07-28 07:11:23 +02:00
|
|
|
"packages/*/{src,types}/**/*.ts": [
|
2022-06-15 01:15:41 +09:00
|
|
|
"eslint --cache --fix"
|
2021-01-16 12:13:59 -07:00
|
|
|
],
|
2021-07-28 07:11:23 +02:00
|
|
|
"packages/**/*.d.ts": [
|
2022-06-15 01:15:41 +09:00
|
|
|
"eslint --cache --fix"
|
2022-05-11 16:44:14 +08:00
|
|
|
],
|
|
|
|
|
"playground/**/__tests__/**/*.ts": [
|
2022-06-15 01:15:41 +09:00
|
|
|
"eslint --cache --fix"
|
2020-12-08 02:00:53 -05:00
|
|
|
]
|
2021-09-24 16:21:04 -04:00
|
|
|
},
|
2025-03-17 19:53:45 +09:00
|
|
|
"packageManager": "pnpm@10.6.3",
|
2021-09-24 16:21:04 -04:00
|
|
|
"pnpm": {
|
|
|
|
|
"overrides": {
|
2022-12-03 11:36:08 +01:00
|
|
|
"vite": "workspace:*"
|
2022-03-29 02:14:31 +11:00
|
|
|
},
|
2022-12-07 03:37:38 +08:00
|
|
|
"patchedDependencies": {
|
2024-05-29 23:47:51 +09:00
|
|
|
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch",
|
2025-02-19 12:46:53 +09:00
|
|
|
"sirv@3.0.1": "patches/sirv@3.0.1.patch",
|
2025-02-04 20:35:39 +09:00
|
|
|
"chokidar@3.6.0": "patches/chokidar@3.6.0.patch",
|
2025-02-25 12:59:40 +08:00
|
|
|
"dotenv-expand@12.0.1": "patches/dotenv-expand@12.0.1.patch",
|
|
|
|
|
"@clack/core@0.4.1": "patches/@clack__core@0.4.1.patch"
|
2023-09-06 16:16:22 +08:00
|
|
|
},
|
|
|
|
|
"peerDependencyRules": {
|
|
|
|
|
"allowedVersions": {
|
|
|
|
|
"vite": "*"
|
|
|
|
|
},
|
|
|
|
|
"ignoreMissing": [
|
|
|
|
|
"@algolia/client-search",
|
|
|
|
|
"postcss",
|
|
|
|
|
"search-insights"
|
|
|
|
|
]
|
2024-10-26 01:01:17 +09:00
|
|
|
},
|
|
|
|
|
"packageExtensions": {
|
|
|
|
|
"sass-embedded": {
|
|
|
|
|
"peerDependencies": {
|
|
|
|
|
"source-map-js": "*"
|
|
|
|
|
},
|
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
|
"source-map-js": {
|
|
|
|
|
"optional": true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-02-24 20:02:22 +08:00
|
|
|
},
|
|
|
|
|
"ignoredBuiltDependencies": [
|
|
|
|
|
"core-js",
|
|
|
|
|
"es5-ext"
|
|
|
|
|
],
|
|
|
|
|
"onlyBuiltDependencies": [
|
|
|
|
|
"@parcel/watcher",
|
|
|
|
|
"bcrypt",
|
|
|
|
|
"esbuild",
|
|
|
|
|
"playwright-chromium",
|
|
|
|
|
"simple-git-hooks",
|
|
|
|
|
"workerd"
|
|
|
|
|
]
|
2023-01-16 06:21:28 +01:00
|
|
|
},
|
|
|
|
|
"stackblitz": {
|
|
|
|
|
"startCommand": "pnpm --filter='./packages/vite' run dev"
|
2020-04-20 04:00:10 -04:00
|
|
|
}
|
|
|
|
|
}
|