mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
a1b519e2c7
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
139 lines
4.1 KiB
JSON
139 lines
4.1 KiB
JSON
{
|
|
"name": "@vitejs/vite-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^14.18.0 || >=16.0.0"
|
|
},
|
|
"homepage": "https://vitejs.dev/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vitejs/vite.git"
|
|
},
|
|
"keywords": [
|
|
"frontend",
|
|
"hmr",
|
|
"dev-server",
|
|
"build-tool",
|
|
"vite"
|
|
],
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"postinstall": "simple-git-hooks",
|
|
"format": "prettier --write --cache .",
|
|
"lint": "eslint --cache .",
|
|
"typecheck": "tsc -p scripts --noEmit && pnpm -r --parallel run typecheck",
|
|
"test": "run-s test-unit test-serve test-build",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/types": "^7.22.5",
|
|
"@microsoft/api-extractor": "^7.36.3",
|
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
"@types/babel__core": "^7.20.1",
|
|
"@types/babel__preset-env": "^7.9.2",
|
|
"@types/babel__standalone": "^7.1.4",
|
|
"@types/convert-source-map": "^2.0.0",
|
|
"@types/cross-spawn": "^6.0.2",
|
|
"@types/debug": "^4.1.8",
|
|
"@types/estree": "^1.0.1",
|
|
"@types/etag": "^1.8.1",
|
|
"@types/fs-extra": "^11.0.1",
|
|
"@types/json-stable-stringify": "^1.0.34",
|
|
"@types/less": "^3.0.3",
|
|
"@types/micromatch": "^4.0.2",
|
|
"@types/node": "^18.17.2",
|
|
"@types/picomatch": "^2.3.0",
|
|
"@types/resolve": "^1.20.2",
|
|
"@types/sass": "~1.43.1",
|
|
"@types/stylus": "^0.48.38",
|
|
"@types/ws": "^8.5.5",
|
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
"@typescript-eslint/parser": "^6.2.1",
|
|
"@vitejs/release-scripts": "^1.2.1",
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
"eslint": "^8.46.0",
|
|
"eslint-define-config": "^1.22.0",
|
|
"eslint-plugin-import": "^2.28.0",
|
|
"eslint-plugin-n": "^15.7.0",
|
|
"eslint-plugin-regexp": "^1.15.0",
|
|
"execa": "^7.2.0",
|
|
"fast-glob": "^3.3.1",
|
|
"fs-extra": "^11.1.1",
|
|
"lint-staged": "^13.2.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"picocolors": "^1.0.0",
|
|
"playwright-chromium": "^1.36.2",
|
|
"prettier": "3.0.1",
|
|
"resolve": "^1.22.4",
|
|
"rimraf": "^5.0.1",
|
|
"rollup": "^3.27.1",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"tslib": "^2.6.1",
|
|
"tsx": "^3.12.7",
|
|
"typescript": "^5.0.2",
|
|
"unbuild": "^1.2.1",
|
|
"vite": "workspace:*",
|
|
"vitepress": "1.0.0-beta.7",
|
|
"vitest": "^0.34.1",
|
|
"vue": "^3.3.4"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"prettier --write --cache --ignore-unknown"
|
|
],
|
|
"packages/*/{src,types}/**/*.ts": [
|
|
"eslint --cache --fix"
|
|
],
|
|
"packages/**/*.d.ts": [
|
|
"eslint --cache --fix"
|
|
],
|
|
"playground/**/__tests__/**/*.ts": [
|
|
"eslint --cache --fix"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@8.6.11",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite": "workspace:*"
|
|
},
|
|
"packageExtensions": {
|
|
"acorn-walk": {
|
|
"peerDependencies": {
|
|
"acorn": "*"
|
|
}
|
|
},
|
|
"postcss-load-config": {
|
|
"peerDependencies": {
|
|
"postcss": "*"
|
|
}
|
|
}
|
|
},
|
|
"patchedDependencies": {
|
|
"dotenv-expand@9.0.0": "patches/dotenv-expand@9.0.0.patch",
|
|
"chokidar@3.5.3": "patches/chokidar@3.5.3.patch",
|
|
"sirv@2.0.3": "patches/sirv@2.0.3.patch"
|
|
}
|
|
},
|
|
"stackblitz": {
|
|
"startCommand": "pnpm --filter='./packages/vite' run dev"
|
|
}
|
|
}
|