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",
|
|
|
|
"test-build-without-plugin-commonjs": "VITE_TEST_WITHOUT_PLUGIN_COMMONJS=1 pnpm test-build",
|
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",
|
2020-12-30 20:53:52 +00:00
|
|
|
"docs": "vitepress dev docs",
|
2022-05-13 03:00:54 +00:00
|
|
|
"docs-build": "vitepress build docs",
|
|
|
|
"docs-serve": "vitepress serve docs",
|
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": {
|
2023-12-04 08:54:15 +00:00
|
|
|
"@babel/types": "^7.23.5",
|
2023-11-21 03:58:00 +00:00
|
|
|
"@eslint-types/import": "^2.29.0-1",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@eslint-types/typescript-eslint": "^6.12.0",
|
2023-10-09 08:25:29 +00:00
|
|
|
"@rollup/plugin-typescript": "^11.1.5",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@types/babel__core": "^7.20.5",
|
|
|
|
"@types/babel__preset-env": "^7.9.6",
|
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/fs-extra": "^11.0.4",
|
|
|
|
"@types/json-stable-stringify": "^1.0.36",
|
|
|
|
"@types/less": "^3.0.6",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@types/micromatch": "^4.0.6",
|
2023-12-04 08:54:15 +00:00
|
|
|
"@types/node": "^20.10.3",
|
2023-11-13 08:25:20 +00:00
|
|
|
"@types/picomatch": "^2.3.3",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@types/semver": "^7.5.6",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/sass": "~1.43.1",
|
2023-11-13 08:25:20 +00:00
|
|
|
"@types/stylus": "^0.48.42",
|
2023-11-27 04:15:40 +00:00
|
|
|
"@types/ws": "^8.5.10",
|
2023-12-04 08:54:15 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
|
|
"@typescript-eslint/parser": "^6.13.1",
|
2023-09-19 07:52:21 +00:00
|
|
|
"@vitejs/release-scripts": "^1.3.1",
|
2023-11-21 08:20:01 +00:00
|
|
|
"conventional-changelog-cli": "^4.1.0",
|
2023-12-04 08:54:15 +00:00
|
|
|
"eslint": "^8.55.0",
|
2023-11-21 03:58:00 +00:00
|
|
|
"eslint-define-config": "^2.0.0",
|
2023-10-28 15:33:46 +00:00
|
|
|
"eslint-plugin-import": "^2.29.0",
|
2023-11-13 08:25:20 +00:00
|
|
|
"eslint-plugin-n": "^16.3.1",
|
2023-12-04 08:54:15 +00:00
|
|
|
"eslint-plugin-regexp": "^2.1.2",
|
2023-08-22 07:47:58 +00:00
|
|
|
"execa": "^8.0.1",
|
2023-11-20 14:22:10 +00:00
|
|
|
"feed": "^4.2.2",
|
2023-12-04 08:54:15 +00:00
|
|
|
"fs-extra": "^11.2.0",
|
|
|
|
"lint-staged": "^15.2.0",
|
2023-10-10 06:40:34 +00:00
|
|
|
"npm-run-all2": "^6.1.1",
|
2021-12-31 14:30:31 +00:00
|
|
|
"picocolors": "^1.0.0",
|
2023-12-04 08:54:15 +00:00
|
|
|
"playwright-chromium": "^1.40.1",
|
2023-11-13 08:25:20 +00:00
|
|
|
"prettier": "3.1.0",
|
2023-10-04 08:45:17 +00:00
|
|
|
"rimraf": "^5.0.5",
|
2023-10-31 14:58:17 +00:00
|
|
|
"rollup": "^4.2.0",
|
2023-11-21 12:42:16 +00:00
|
|
|
"semver": "^7.5.4",
|
2023-08-06 08:36:01 +00:00
|
|
|
"simple-git-hooks": "^2.9.0",
|
2023-09-19 07:52:21 +00:00
|
|
|
"tslib": "^2.6.2",
|
2023-12-04 08:54:15 +00:00
|
|
|
"tsx": "^4.6.2",
|
2023-09-22 15:38:54 +00:00
|
|
|
"typescript": "^5.2.2",
|
2023-09-20 08:16:05 +00:00
|
|
|
"unbuild": "^2.0.0",
|
2021-11-06 10:28:17 +00:00
|
|
|
"vite": "workspace:*",
|
2023-11-27 04:15:40 +00:00
|
|
|
"vitepress": "1.0.0-rc.31",
|
2023-11-30 14:37:46 +00:00
|
|
|
"vitest": "^1.0.0-beta.6",
|
2023-11-27 04:15:40 +00:00
|
|
|
"vue": "^3.3.9"
|
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
|
|
|
},
|
2023-11-27 04:15:40 +00:00
|
|
|
"packageManager": "pnpm@8.11.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
|
|
|
},
|
|
|
|
"packageExtensions": {
|
2023-08-06 08:36:01 +00:00
|
|
|
"acorn-walk": {
|
2022-03-28 15:14:31 +00:00
|
|
|
"peerDependencies": {
|
2023-08-06 08:36:01 +00:00
|
|
|
"acorn": "*"
|
2022-03-28 15:14:31 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-06 19:37:38 +00:00
|
|
|
},
|
|
|
|
"patchedDependencies": {
|
2023-06-07 10:15:23 +00:00
|
|
|
"chokidar@3.5.3": "patches/chokidar@3.5.3.patch",
|
2023-09-17 13:58:55 +00:00
|
|
|
"sirv@2.0.3": "patches/sirv@2.0.3.patch",
|
2023-11-27 04:15:40 +00:00
|
|
|
"dotenv-expand@10.0.0": "patches/dotenv-expand@10.0.0.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
|
|
|
}
|
|
|
|
}
|