vite/package.json
Evan You d7c8603897
docs: home page redesign (#18257)
Co-authored-by: Simon Le Marchant <simon@marchantweb.com>
2024-10-02 22:02:46 +08:00

125 lines
3.7 KiB
JSON

{
"name": "@vitejs/vite-monorepo",
"private": true,
"type": "module",
"engines": {
"node": "^18.0.0 || >=20.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": "pnpm test-unit && pnpm test-serve && pnpm 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-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"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@type-challenges/utils": "^0.1.1",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.9.7",
"@types/convert-source-map": "^2.0.3",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",
"@types/estree": "^1.0.6",
"@types/etag": "^1.8.3",
"@types/less": "^3.0.6",
"@types/micromatch": "^4.0.9",
"@types/node": "^20.16.10",
"@types/picomatch": "^3.0.1",
"@types/stylus": "^0.48.43",
"@types/ws": "^8.5.12",
"@vitejs/release-scripts": "^1.3.2",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.11.1",
"eslint-plugin-import-x": "^4.3.1",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-regexp": "^2.6.0",
"execa": "^9.4.0",
"globals": "^15.9.0",
"gsap": "^3.12.4",
"lint-staged": "^15.2.10",
"picocolors": "^1.1.0",
"playwright-chromium": "^1.47.2",
"prettier": "3.3.3",
"rimraf": "^5.0.10",
"rollup": "^4.22.5",
"rollup-plugin-esbuild": "^6.1.1",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.7.0",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.7.0",
"vite": "workspace:*",
"vitest": "^2.1.1"
},
"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@9.11.0",
"pnpm": {
"overrides": {
"vite": "workspace:*"
},
"patchedDependencies": {
"acorn@8.12.1": "patches/acorn@8.12.1.patch",
"chokidar@3.6.0": "patches/chokidar@3.6.0.patch",
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch",
"sirv@2.0.4": "patches/sirv@2.0.4.patch"
},
"peerDependencyRules": {
"allowedVersions": {
"vite": "*"
},
"ignoreMissing": [
"@algolia/client-search",
"postcss",
"search-insights"
]
}
},
"stackblitz": {
"startCommand": "pnpm --filter='./packages/vite' run dev"
}
}