2020-04-20 08:00:10 +00:00
|
|
|
{
|
2020-12-06 23:21:10 +00:00
|
|
|
"name": "@vitejs/vite-monorepo",
|
|
|
|
"private": true,
|
2023-04-05 09:43:16 +00:00
|
|
|
"type": "module",
|
2021-06-11 15:46:17 +00:00
|
|
|
"engines": {
|
2023-08-15 13:28:17 +00:00
|
|
|
"node": "^18.0.0 || >=20.0.0"
|
2021-06-11 15:46:17 +00:00
|
|
|
},
|
2022-01-21 19:41:47 +00:00
|
|
|
"homepage": "https://vitejs.dev/",
|
2023-05-18 09:34:53 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/vitejs/vite.git"
|
|
|
|
},
|
2022-01-21 19:41:47 +00:00
|
|
|
"keywords": [
|
|
|
|
"frontend",
|
|
|
|
"hmr",
|
|
|
|
"dev-server",
|
|
|
|
"build-tool",
|
|
|
|
"vite"
|
|
|
|
],
|
2020-12-08 10:55:12 +00:00
|
|
|
"scripts": {
|
2021-11-11 08:17:24 +00:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2022-06-25 16:33:50 +00:00
|
|
|
"postinstall": "simple-git-hooks",
|
2022-06-14 16:15:41 +00:00
|
|
|
"format": "prettier --write --cache .",
|
2022-08-01 05:39:26 +00:00
|
|
|
"lint": "eslint --cache .",
|
2022-12-15 07:08:09 +00:00
|
|
|
"typecheck": "tsc -p scripts --noEmit && pnpm -r --parallel run typecheck",
|
2022-05-07 03:07:05 +00:00
|
|
|
"test": "run-s test-unit test-serve test-build",
|
2022-05-11 06:33:20 +00:00
|
|
|
"test-serve": "vitest run -c vitest.config.e2e.ts",
|
2022-09-07 08:00:54 +00:00
|
|
|
"test-build": "VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
|
2022-05-06 08:00:31 +00:00
|
|
|
"test-unit": "vitest run",
|
2022-05-25 14:48:33 +00:00
|
|
|
"test-docs": "pnpm run docs-build",
|
2022-09-07 08:00:54 +00: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 08:24:38 +00: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 08:00:54 +00:00
|
|
|
"build": "pnpm -r --filter='./packages/*' run build",
|
|
|
|
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
|
2022-06-25 16:33:50 +00:00
|
|
|
"release": "tsx scripts/release.ts",
|
|
|
|
"ci-publish": "tsx scripts/publishCI.ts",
|
2022-05-13 03:00:54 +00:00
|
|
|
"ci-docs": "run-s build docs-build"
|
2020-12-08 10:55:12 +00:00
|
|
|
},
|
2020-04-20 23:13:22 +00:00
|
|
|
"devDependencies": {
|
2024-07-30 05:38:12 +00:00
|
|
|
"@eslint/js": "^9.8.0",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@types/babel__core": "^7.20.5",
|
2024-06-18 06:44:29 +00:00
|
|
|
"@types/babel__preset-env": "^7.9.7",
|
2023-11-13 08:25:20 +00:00
|
|
|
"@types/convert-source-map": "^2.0.3",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@types/cross-spawn": "^6.0.6",
|
2023-11-13 08:25:20 +00:00
|
|
|
"@types/debug": "^4.1.12",
|
|
|
|
"@types/estree": "^1.0.5",
|
|
|
|
"@types/etag": "^1.8.3",
|
|
|
|
"@types/less": "^3.0.6",
|
2024-07-02 10:08:55 +00:00
|
|
|
"@types/micromatch": "^4.0.9",
|
2024-07-30 05:38:12 +00:00
|
|
|
"@types/node": "^20.14.13",
|
2024-07-15 05:32:39 +00:00
|
|
|
"@types/picomatch": "^3.0.0",
|
2023-11-13 08:25:20 +00:00
|
|
|
"@types/stylus": "^0.48.42",
|
2024-07-30 05:38:12 +00:00
|
|
|
"@types/ws": "^8.5.12",
|
2023-09-19 07:52:21 +00:00
|
|
|
"@vitejs/release-scripts": "^1.3.1",
|
2024-05-08 11:10:06 +00:00
|
|
|
"conventional-changelog-cli": "^5.0.0",
|
2024-07-30 05:38:12 +00:00
|
|
|
"eslint": "^9.8.0",
|
|
|
|
"eslint-plugin-import-x": "^3.1.0",
|
|
|
|
"eslint-plugin-n": "^17.10.1",
|
2024-05-27 04:16:22 +00:00
|
|
|
"eslint-plugin-regexp": "^2.6.0",
|
2024-06-24 06:53:16 +00:00
|
|
|
"execa": "^9.3.0",
|
2024-07-16 12:06:54 +00:00
|
|
|
"globals": "^15.8.0",
|
2024-06-18 06:44:29 +00:00
|
|
|
"lint-staged": "^15.2.7",
|
2024-07-16 12:06:54 +00:00
|
|
|
"npm-run-all2": "^6.2.2",
|
2024-05-20 07:56:38 +00:00
|
|
|
"picocolors": "^1.0.1",
|
2024-07-23 03:42:49 +00:00
|
|
|
"playwright-chromium": "^1.45.3",
|
2024-07-16 12:06:54 +00:00
|
|
|
"prettier": "3.3.3",
|
|
|
|
"rimraf": "^5.0.9",
|
2024-03-12 14:43:56 +00:00
|
|
|
"rollup": "^4.13.0",
|
2024-06-10 14:58:21 +00:00
|
|
|
"rollup-plugin-esbuild": "^6.1.1",
|
2024-03-26 08:00:34 +00:00
|
|
|
"simple-git-hooks": "^2.11.1",
|
2024-06-10 14:40:16 +00:00
|
|
|
"tslib": "^2.6.3",
|
2024-07-16 12:06:54 +00:00
|
|
|
"tsx": "^4.16.2",
|
2024-07-22 03:48:47 +00:00
|
|
|
"typescript": "^5.5.3",
|
2024-08-05 02:03:42 +00:00
|
|
|
"typescript-eslint": "^8.0.0",
|
2021-11-06 10:28:17 +00:00
|
|
|
"vite": "workspace:*",
|
2024-07-23 03:42:49 +00:00
|
|
|
"vitest": "^2.0.4"
|
2020-12-08 07:00:53 +00:00
|
|
|
},
|
2022-01-05 14:18:11 +00:00
|
|
|
"simple-git-hooks": {
|
2022-12-14 21:12:02 +00:00
|
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
2020-12-08 07:00:53 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2021-07-28 05:11:23 +00:00
|
|
|
"*": [
|
2022-06-14 16:15:41 +00:00
|
|
|
"prettier --write --cache --ignore-unknown"
|
2020-12-08 07:00:53 +00:00
|
|
|
],
|
2021-07-28 05:11:23 +00:00
|
|
|
"packages/*/{src,types}/**/*.ts": [
|
2022-06-14 16:15:41 +00:00
|
|
|
"eslint --cache --fix"
|
2021-01-16 19:13:59 +00:00
|
|
|
],
|
2021-07-28 05:11:23 +00:00
|
|
|
"packages/**/*.d.ts": [
|
2022-06-14 16:15:41 +00:00
|
|
|
"eslint --cache --fix"
|
2022-05-11 08:44:14 +00:00
|
|
|
],
|
|
|
|
"playground/**/__tests__/**/*.ts": [
|
2022-06-14 16:15:41 +00:00
|
|
|
"eslint --cache --fix"
|
2020-12-08 07:00:53 +00:00
|
|
|
]
|
2021-09-24 20:21:04 +00:00
|
|
|
},
|
2024-07-23 03:42:49 +00:00
|
|
|
"packageManager": "pnpm@9.6.0",
|
2021-09-24 20:21:04 +00:00
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
2022-12-03 10:36:08 +00:00
|
|
|
"vite": "workspace:*"
|
2022-03-28 15:14:31 +00:00
|
|
|
},
|
2022-12-06 19:37:38 +00:00
|
|
|
"patchedDependencies": {
|
2024-07-16 12:06:54 +00:00
|
|
|
"acorn@8.12.1": "patches/acorn@8.12.1.patch",
|
2024-02-08 09:43:45 +00:00
|
|
|
"chokidar@3.6.0": "patches/chokidar@3.6.0.patch",
|
2024-05-29 14:47:51 +00:00
|
|
|
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch",
|
|
|
|
"sirv@2.0.4": "patches/sirv@2.0.4.patch"
|
2023-09-06 08:16:22 +00:00
|
|
|
},
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
|
|
|
"vite": "*"
|
|
|
|
},
|
|
|
|
"ignoreMissing": [
|
|
|
|
"@algolia/client-search",
|
|
|
|
"postcss",
|
|
|
|
"search-insights"
|
|
|
|
]
|
2021-09-24 20:21:04 +00:00
|
|
|
}
|
2023-01-16 05:21:28 +00:00
|
|
|
},
|
|
|
|
"stackblitz": {
|
|
|
|
"startCommand": "pnpm --filter='./packages/vite' run dev"
|
2020-04-20 08:00:10 +00:00
|
|
|
}
|
|
|
|
}
|