mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
99 lines
3.1 KiB
JSON
99 lines
3.1 KiB
JSON
{
|
|
"name": "@vitejs/vite-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"homepage": "https://vite.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": "oxfmt",
|
|
"lint": "eslint --cache . --concurrency auto",
|
|
"typecheck": "tsc -p scripts && pnpm -r --parallel run typecheck",
|
|
"test": "pnpm test-unit && pnpm test-serve && pnpm test-build",
|
|
"test-serve": "vitest run -c vitest.config.e2e.ts",
|
|
"test-serve-bundled": "VITE_TEST_BUNDLED_DEV=1 vitest run -c vitest.config.e2e.ts",
|
|
"test-build": "VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
|
|
"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": "pnpm --filter=./docs run docs",
|
|
"docs-build": "pnpm --filter=./docs run docs-build",
|
|
"docs-serve": "pnpm --filter=./docs run docs-serve",
|
|
"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": "pnpm build && pnpm docs-build",
|
|
"merge-changelog": "tsx scripts/mergeChangelog.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.5",
|
|
"@type-challenges/utils": "^0.1.1",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@types/babel__preset-env": "^7.10.0",
|
|
"@types/convert-source-map": "^2.0.3",
|
|
"@types/cross-spawn": "^6.0.6",
|
|
"@types/etag": "^1.8.4",
|
|
"@types/less": "^3.0.8",
|
|
"@types/node": "^24.13.3",
|
|
"@types/picomatch": "^4.0.3",
|
|
"@types/stylus": "^0.48.43",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitejs/release-scripts": "^1.8.0",
|
|
"eslint": "^9.39.5",
|
|
"eslint-plugin-import-x": "^4.17.1",
|
|
"eslint-plugin-n": "^18.2.2",
|
|
"eslint-plugin-regexp": "^3.1.1",
|
|
"execa": "^9.6.1",
|
|
"globals": "^17.7.0",
|
|
"lint-staged": "^17.2.0",
|
|
"oxfmt": "^0.60.0",
|
|
"picocolors": "^1.1.1",
|
|
"playwright-chromium": "^1.62.0",
|
|
"rolldown": "~1.2.0",
|
|
"rollup": "^4.59.0",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"tsx": "^4.23.1",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.65.0",
|
|
"vite": "workspace:*",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"oxfmt --no-error-on-unmatched-pattern"
|
|
],
|
|
"packages/*/{src,types}/**/*.ts": [
|
|
"eslint --cache --fix --concurrency auto"
|
|
],
|
|
"packages/**/*.d.ts": [
|
|
"eslint --cache --fix --concurrency auto"
|
|
],
|
|
"playground/**/__tests__/**/*.ts": [
|
|
"eslint --cache --fix --concurrency auto"
|
|
]
|
|
},
|
|
"packageManager": "[email protected]",
|
|
"stackblitz": {
|
|
"startCommand": "pnpm --filter='./packages/vite' run dev"
|
|
}
|
|
}
|