2020-04-20 08:00:10 +00:00
|
|
|
{
|
2020-12-06 23:21:10 +00:00
|
|
|
"name": "@vitejs/vite-monorepo",
|
|
|
|
"private": true,
|
2021-06-11 15:46:17 +00:00
|
|
|
"engines": {
|
2022-07-15 13:23:41 +00:00
|
|
|
"node": "^14.18.0 || >=16.0.0"
|
2021-06-11 15:46:17 +00:00
|
|
|
},
|
2022-01-21 19:41:47 +00:00
|
|
|
"homepage": "https://vitejs.dev/",
|
|
|
|
"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-03-21 06:43:25 +00:00
|
|
|
"@babel/types": "^7.21.3",
|
2023-02-23 12:28:48 +00:00
|
|
|
"@microsoft/api-extractor": "^7.34.4",
|
2023-01-16 06:30:53 +00:00
|
|
|
"@rollup/plugin-typescript": "^11.0.0",
|
2023-01-23 19:28:11 +00:00
|
|
|
"@types/babel__core": "^7.20.0",
|
2022-05-13 03:00:54 +00:00
|
|
|
"@types/babel__standalone": "^7.1.4",
|
2022-12-14 06:30:53 +00:00
|
|
|
"@types/convert-source-map": "^2.0.0",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/cross-spawn": "^6.0.2",
|
|
|
|
"@types/debug": "^4.1.7",
|
2022-07-18 08:38:00 +00:00
|
|
|
"@types/estree": "^1.0.0",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/etag": "^1.8.1",
|
2023-01-23 19:27:32 +00:00
|
|
|
"@types/fs-extra": "^11.0.1",
|
2023-01-04 16:05:16 +00:00
|
|
|
"@types/json-stable-stringify": "^1.0.34",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/less": "^3.0.3",
|
|
|
|
"@types/micromatch": "^4.0.2",
|
2022-05-12 03:55:54 +00:00
|
|
|
"@types/minimist": "^1.2.2",
|
2023-03-21 06:43:25 +00:00
|
|
|
"@types/node": "^18.15.5",
|
2022-09-22 09:11:27 +00:00
|
|
|
"@types/picomatch": "^2.3.0",
|
2023-03-21 06:43:25 +00:00
|
|
|
"@types/prompts": "2.4.2",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/resolve": "^1.20.2",
|
|
|
|
"@types/sass": "~1.43.1",
|
2022-10-31 06:48:30 +00:00
|
|
|
"@types/semver": "^7.3.13",
|
2022-05-26 06:15:57 +00:00
|
|
|
"@types/stylus": "^0.48.38",
|
2023-01-05 13:27:22 +00:00
|
|
|
"@types/ws": "^8.5.4",
|
2023-03-21 06:43:25 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
|
|
"@typescript-eslint/parser": "^5.56.0",
|
2021-12-29 13:49:15 +00:00
|
|
|
"conventional-changelog-cli": "^2.2.2",
|
2023-03-21 06:43:25 +00:00
|
|
|
"eslint": "^8.36.0",
|
|
|
|
"eslint-define-config": "^1.17.0",
|
2023-01-23 19:28:11 +00:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2020-12-08 10:55:12 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2023-03-21 06:43:25 +00:00
|
|
|
"eslint-plugin-regexp": "^1.13.0",
|
|
|
|
"execa": "^7.1.1",
|
2022-09-12 12:25:27 +00:00
|
|
|
"fast-glob": "^3.2.12",
|
2023-03-21 06:43:25 +00:00
|
|
|
"fs-extra": "^11.1.1",
|
|
|
|
"lint-staged": "^13.2.0",
|
2023-02-23 12:28:48 +00:00
|
|
|
"minimist": "^1.2.8",
|
2020-04-20 23:13:22 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-12-31 14:30:31 +00:00
|
|
|
"picocolors": "^1.0.0",
|
2023-03-07 14:44:18 +00:00
|
|
|
"playwright-chromium": "^1.31.2",
|
2023-03-21 06:43:25 +00:00
|
|
|
"prettier": "2.8.5",
|
2021-11-07 10:37:05 +00:00
|
|
|
"prompts": "^2.4.2",
|
2022-08-29 18:21:35 +00:00
|
|
|
"resolve": "^1.22.1",
|
2023-03-21 06:43:25 +00:00
|
|
|
"rimraf": "^4.4.0",
|
2023-04-05 08:28:22 +00:00
|
|
|
"rollup": "^3.20.2",
|
2022-10-10 07:36:31 +00:00
|
|
|
"semver": "^7.3.8",
|
2022-10-20 06:11:00 +00:00
|
|
|
"simple-git-hooks": "^2.8.1",
|
2023-01-31 09:24:55 +00:00
|
|
|
"tslib": "^2.5.0",
|
2023-03-21 06:43:25 +00:00
|
|
|
"tsx": "^3.12.6",
|
2023-03-30 06:13:26 +00:00
|
|
|
"typescript": "^5.0.2",
|
2023-02-23 12:28:48 +00:00
|
|
|
"unbuild": "^1.1.2",
|
2021-11-06 10:28:17 +00:00
|
|
|
"vite": "workspace:*",
|
2023-03-21 06:43:25 +00:00
|
|
|
"vitepress": "^1.0.0-alpha.61",
|
|
|
|
"vitest": "^0.29.7",
|
2023-02-23 12:28:48 +00:00
|
|
|
"vue": "^3.2.47"
|
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-03-21 06:43:25 +00:00
|
|
|
"packageManager": "pnpm@7.30.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": {
|
|
|
|
"postcss-load-config": {
|
|
|
|
"peerDependencies": {
|
|
|
|
"postcss": "*"
|
|
|
|
}
|
2022-11-28 21:00:50 +00:00
|
|
|
},
|
|
|
|
"acorn-walk": {
|
|
|
|
"peerDependencies": {
|
|
|
|
"acorn": "*"
|
|
|
|
}
|
2022-03-28 15:14:31 +00:00
|
|
|
}
|
2022-12-06 19:37:38 +00:00
|
|
|
},
|
|
|
|
"patchedDependencies": {
|
2022-12-12 15:15:53 +00:00
|
|
|
"dotenv-expand@9.0.0": "patches/dotenv-expand@9.0.0.patch",
|
2023-03-26 10:30:33 +00:00
|
|
|
"sirv@2.0.2": "patches/sirv@2.0.2.patch",
|
|
|
|
"chokidar@3.5.3": "patches/chokidar@3.5.3.patch"
|
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
|
|
|
}
|
|
|
|
}
|