mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
107 lines
3.1 KiB
JSON
107 lines
3.1 KiB
JSON
{
|
|
"name": "vite-monorepo",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=12.2.0"
|
|
},
|
|
"homepage": "https://vitejs.dev/",
|
|
"keywords": [
|
|
"frontend",
|
|
"hmr",
|
|
"dev-server",
|
|
"build-tool",
|
|
"vite"
|
|
],
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint packages/*/{src,types}/**",
|
|
"test": "run-s test-serve test-build",
|
|
"test-serve": "jest",
|
|
"debug-serve": "cross-env VITE_DEBUG_SERVE=1 node --inspect-brk ./node_modules/.bin/jest",
|
|
"test-build": "cross-env VITE_TEST_BUILD=1 jest",
|
|
"debug-build": "cross-env VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 node --inspect-brk ./node_modules/.bin/jest",
|
|
"docs": "vitepress dev docs",
|
|
"build-docs": "vitepress build docs",
|
|
"serve-docs": "vitepress serve docs",
|
|
"release": "ts-node scripts/release.ts",
|
|
"ci-publish": "ts-node scripts/publishCI.ts",
|
|
"build": "run-s build-vite build-plugin-vue build-plugin-react",
|
|
"build-vite": "cd packages/vite && npm run build",
|
|
"build-plugin-vue": "cd packages/plugin-vue && npm run build",
|
|
"build-plugin-react": "cd packages/plugin-react && npm run build",
|
|
"ci-build-vite": "cd packages/vite && npm run ci-build",
|
|
"ci-docs": "run-s build-vite build-plugin-vue build-docs"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.23.0",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.25",
|
|
"@types/prompts": "^2.0.14",
|
|
"@types/semver": "^7.3.9",
|
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
"@typescript-eslint/parser": "^5.21.0",
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.14.27",
|
|
"eslint": "^8.14.0",
|
|
"eslint-define-config": "^1.4.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"execa": "^5.1.1",
|
|
"fs-extra": "^10.1.0",
|
|
"jest": "^27.5.1",
|
|
"lint-staged": "^12.4.1",
|
|
"minimist": "^1.2.6",
|
|
"node-fetch": "^2.6.6",
|
|
"npm-run-all": "^4.1.5",
|
|
"picocolors": "^1.0.0",
|
|
"playwright-chromium": "^1.21.1",
|
|
"prettier": "2.6.2",
|
|
"prompts": "^2.4.2",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.59.0",
|
|
"semver": "^7.3.7",
|
|
"simple-git-hooks": "^2.7.0",
|
|
"sirv": "^2.0.2",
|
|
"ts-jest": "^27.1.4",
|
|
"ts-node": "^10.4.0",
|
|
"typescript": "~4.5.4",
|
|
"vite": "workspace:*",
|
|
"vitepress": "^0.22.3"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm exec lint-staged --concurrent false",
|
|
"commit-msg": "pnpm exec ts-node scripts/verifyCommit.ts $1"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"prettier --write --ignore-unknown"
|
|
],
|
|
"packages/*/{src,types}/**/*.ts": [
|
|
"eslint --fix"
|
|
],
|
|
"packages/**/*.d.ts": [
|
|
"eslint --fix"
|
|
],
|
|
"playground/**/__tests__/**/*.ts": [
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@6.32.11",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite": "workspace:*",
|
|
"@vitejs/plugin-vue": "workspace:*"
|
|
},
|
|
"packageExtensions": {
|
|
"postcss-load-config": {
|
|
"peerDependencies": {
|
|
"postcss": "*"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|