vite/package.json

134 lines
3.9 KiB
JSON
Raw Normal View History

2020-04-20 08:00:10 +00:00
{
2020-12-06 23:21:10 +00:00
"name": "vite-monorepo",
"private": true,
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"homepage": "https://vitejs.dev/",
"keywords": [
"frontend",
"hmr",
"dev-server",
"build-tool",
"vite"
],
2020-12-08 10:55:12 +00:00
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"format": "prettier --write --cache .",
2022-08-01 05:39:26 +00:00
"lint": "eslint --cache .",
"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": "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",
"test-unit": "vitest run",
2022-05-25 14:48:33 +00:00
"test-docs": "pnpm run docs-build",
"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",
"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",
"release": "tsx scripts/release.ts",
"ci-publish": "tsx scripts/publishCI.ts",
"ci-docs": "run-s build docs-build"
2020-12-08 10:55:12 +00:00
},
2020-04-20 23:13:22 +00:00
"devDependencies": {
"@babel/types": "^7.20.0",
"@microsoft/api-extractor": "^7.33.5",
"@rollup/plugin-typescript": "^8.5.0",
2022-05-11 06:33:20 +00:00
"@types/babel__core": "^7.1.19",
"@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",
"@types/estree": "^1.0.0",
2022-05-11 14:23:39 +00:00
"@types/etag": "^1.8.1",
"@types/fs-extra": "^9.0.13",
2022-05-11 14:23:39 +00:00
"@types/less": "^3.0.3",
"@types/micromatch": "^4.0.2",
"@types/minimist": "^1.2.2",
2022-06-13 18:26:27 +00:00
"@types/node": "^17.0.42",
"@types/picomatch": "^2.3.0",
"@types/prompts": "^2.4.1",
2022-05-11 14:23:39 +00:00
"@types/resolve": "^1.20.2",
"@types/sass": "~1.43.1",
"@types/semver": "^7.3.13",
"@types/stylus": "^0.48.38",
2022-05-11 14:23:39 +00:00
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"@vitejs/release-scripts": "^1.3.1",
"conventional-changelog-cli": "^2.2.2",
"esbuild": "^0.14.47",
"eslint": "^8.26.0",
"eslint-define-config": "^1.11.0",
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",
"fast-glob": "^3.2.12",
"fs-extra": "^10.1.0",
"lint-staged": "^13.0.3",
"minimist": "^1.2.7",
2020-04-20 23:13:22 +00:00
"npm-run-all": "^4.1.5",
"picocolors": "^1.0.0",
"playwright-chromium": "^1.27.1",
"pnpm": "^7.14.1",
"prettier": "2.7.1",
"prompts": "^2.4.2",
2022-08-29 18:21:35 +00:00
"resolve": "^1.22.1",
2020-12-08 07:00:53 +00:00
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup-plugin-license": "^2.9.0",
"semver": "^7.3.8",
"simple-git-hooks": "^2.8.1",
"tslib": "^2.4.0",
"tsx": "^3.11.0",
"typescript": "^4.6.4",
"unbuild": "^0.9.4",
"vite": "workspace:*",
"vitepress": "^1.0.0-alpha.26",
"vitest": "^0.24.3",
"vue": "^3.2.41"
2020-12-08 07:00:53 +00:00
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false",
"commit-msg": "pnpm exec tsx scripts/verifyCommit.ts $1"
2020-12-08 07:00:53 +00:00
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
2020-12-08 07:00:53 +00:00
],
"packages/*/{src,types}/**/*.ts": [
"eslint --cache --fix"
],
"packages/**/*.d.ts": [
"eslint --cache --fix"
2022-05-11 08:44:14 +00:00
],
"playground/**/__tests__/**/*.ts": [
"eslint --cache --fix"
2020-12-08 07:00:53 +00:00
]
2021-09-24 20:21:04 +00:00
},
"packageManager": "pnpm@7.14.1",
2021-09-24 20:21:04 +00:00
"pnpm": {
"overrides": {
"vite": "workspace:*",
"@vitejs/plugin-vue": "workspace:*"
},
"packageExtensions": {
"postcss-load-config": {
"peerDependencies": {
"postcss": "*"
}
},
"acorn-walk": {
"peerDependencies": {
"acorn": "*"
}
}
2021-09-24 20:21:04 +00:00
}
2020-04-20 08:00:10 +00:00
}
}