2020-04-20 08:00:10 +00:00
|
|
|
{
|
2020-12-06 23:21:10 +00:00
|
|
|
"name": "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-07-31 13:11:53 +00:00
|
|
|
"lint": "eslint --cache packages/*/{src,types,__tests__}/** playground/**/__tests__/**/*.ts scripts/**/*.ts",
|
2022-05-13 03:00:54 +00:00
|
|
|
"typecheck": "tsc -p scripts --noEmit && tsc -p playground --noEmit",
|
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",
|
|
|
|
"test-build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
|
2022-07-08 07:46:02 +00:00
|
|
|
"test-build-without-plugin-commonjs": "cross-env 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-05-11 06:33:20 +00:00
|
|
|
"debug-serve": "cross-env VITE_DEBUG_SERVE=1 vitest run -c vitest.config.e2e.ts",
|
|
|
|
"debug-build": "cross-env 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",
|
|
|
|
"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": {
|
2022-07-18 12:44:00 +00:00
|
|
|
"@babel/types": "^7.18.9",
|
2022-07-25 11:16:10 +00:00
|
|
|
"@microsoft/api-extractor": "^7.28.6",
|
2022-06-13 05:26:37 +00:00
|
|
|
"@rollup/plugin-typescript": "^8.3.3",
|
2022-05-11 06:33:20 +00:00
|
|
|
"@types/babel__core": "^7.1.19",
|
2022-05-13 03:00:54 +00:00
|
|
|
"@types/babel__standalone": "^7.1.4",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/convert-source-map": "^1.5.2",
|
|
|
|
"@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",
|
2021-09-23 07:10:45 +00:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/hash-sum": "^1.0.0",
|
|
|
|
"@types/less": "^3.0.3",
|
|
|
|
"@types/micromatch": "^4.0.2",
|
2022-08-01 04:19:48 +00:00
|
|
|
"@types/mime": "^3.0.0",
|
2022-05-12 03:55:54 +00:00
|
|
|
"@types/minimist": "^1.2.2",
|
2022-06-13 18:26:27 +00:00
|
|
|
"@types/node": "^17.0.42",
|
2022-05-09 08:30:17 +00:00
|
|
|
"@types/prompts": "^2.4.0",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/resolve": "^1.20.2",
|
|
|
|
"@types/sass": "~1.43.1",
|
2022-06-20 14:00:17 +00:00
|
|
|
"@types/semver": "^7.3.10",
|
2022-05-26 06:15:57 +00:00
|
|
|
"@types/stylus": "^0.48.38",
|
2022-05-11 14:23:39 +00:00
|
|
|
"@types/ws": "^8.5.3",
|
2022-07-25 11:16:10 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
|
|
|
"@typescript-eslint/parser": "^5.30.7",
|
2021-12-29 13:49:15 +00:00
|
|
|
"conventional-changelog-cli": "^2.2.2",
|
2020-12-20 03:33:13 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2022-06-28 07:06:21 +00:00
|
|
|
"esbuild": "^0.14.47",
|
2022-07-18 12:44:00 +00:00
|
|
|
"eslint": "^8.20.0",
|
2022-06-13 05:26:37 +00:00
|
|
|
"eslint-define-config": "^1.5.1",
|
2022-05-11 08:44:14 +00:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2020-12-08 10:55:12 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2022-06-13 18:26:27 +00:00
|
|
|
"execa": "^6.1.0",
|
2022-04-19 20:34:44 +00:00
|
|
|
"fs-extra": "^10.1.0",
|
2022-05-11 06:33:20 +00:00
|
|
|
"kill-port": "^1.6.1",
|
2022-06-29 06:04:57 +00:00
|
|
|
"lint-staged": "^13.0.3",
|
2022-03-28 03:10:21 +00:00
|
|
|
"minimist": "^1.2.6",
|
2022-07-25 11:16:10 +00:00
|
|
|
"node-fetch": "^3.2.9",
|
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",
|
2022-07-25 11:16:10 +00:00
|
|
|
"playwright-chromium": "^1.24.0",
|
|
|
|
"pnpm": "^7.6.0",
|
2022-06-20 14:00:17 +00:00
|
|
|
"prettier": "2.7.1",
|
2021-11-07 10:37:05 +00:00
|
|
|
"prompts": "^2.4.2",
|
2020-12-08 07:00:53 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2022-06-13 18:26:27 +00:00
|
|
|
"rollup": "^2.75.6",
|
2022-04-19 20:34:44 +00:00
|
|
|
"semver": "^7.3.7",
|
2022-05-30 20:30:43 +00:00
|
|
|
"simple-git-hooks": "^2.8.0",
|
2022-01-31 21:59:04 +00:00
|
|
|
"sirv": "^2.0.2",
|
2022-05-23 13:52:47 +00:00
|
|
|
"tslib": "^2.4.0",
|
2022-07-18 12:44:00 +00:00
|
|
|
"tsx": "^3.8.0",
|
2022-05-09 08:30:17 +00:00
|
|
|
"typescript": "^4.6.4",
|
2022-07-25 11:16:10 +00:00
|
|
|
"unbuild": "^0.7.6",
|
2021-11-06 10:28:17 +00:00
|
|
|
"vite": "workspace:*",
|
2022-06-29 06:04:57 +00:00
|
|
|
"vitepress": "^1.0.0-alpha.4",
|
2022-07-25 11:16:10 +00:00
|
|
|
"vitest": "^0.19.0",
|
2022-06-06 17:44:19 +00:00
|
|
|
"vue": "^3.2.37"
|
2020-12-08 07:00:53 +00:00
|
|
|
},
|
2022-01-05 14:18:11 +00:00
|
|
|
"simple-git-hooks": {
|
|
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false",
|
2022-06-25 16:33:50 +00:00
|
|
|
"commit-msg": "pnpm exec tsx scripts/verifyCommit.ts $1"
|
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
|
|
|
},
|
2022-07-25 11:16:10 +00:00
|
|
|
"packageManager": "pnpm@7.6.0",
|
2021-09-24 20:21:04 +00:00
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"vite": "workspace:*",
|
|
|
|
"@vitejs/plugin-vue": "workspace:*"
|
2022-03-28 15:14:31 +00:00
|
|
|
},
|
|
|
|
"packageExtensions": {
|
|
|
|
"postcss-load-config": {
|
|
|
|
"peerDependencies": {
|
|
|
|
"postcss": "*"
|
|
|
|
}
|
|
|
|
}
|
2021-09-24 20:21:04 +00:00
|
|
|
}
|
2020-04-20 08:00:10 +00:00
|
|
|
}
|
|
|
|
}
|