vite/package.json

105 lines
3.0 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.6.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",
2021-07-06 18:23:46 +00:00
"format": "prettier --write .",
"lint": "eslint packages/*/{src,types}/**",
2022-05-07 03:07:05 +00:00
"test": "run-s test-unit test-serve test-build",
2020-12-20 03:33:13 +00:00
"test-serve": "jest",
2021-01-24 02:24:09 +00:00
"test-build": "cross-env VITE_TEST_BUILD=1 jest",
"test-unit": "vitest run",
"debug-serve": "cross-env VITE_DEBUG_SERVE=1 node --inspect-brk ./node_modules/.bin/jest",
2020-12-30 20:53:52 +00:00
"debug-build": "cross-env VITE_TEST_BUILD=1 VITE_PRESERVE_BUILD_ARTIFACTS=1 node --inspect-brk ./node_modules/.bin/jest",
"docs": "vitepress dev docs",
2021-01-01 21:46:39 +00:00
"build-docs": "vitepress build docs",
2021-01-12 21:53:05 +00:00
"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",
2021-09-24 20:21:04 +00:00
"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",
2021-01-01 21:49:47 +00:00
"ci-docs": "run-s build-vite build-plugin-vue build-docs"
2020-12-08 10:55:12 +00:00
},
2020-04-20 23:13:22 +00:00
"devDependencies": {
"@microsoft/api-extractor": "^7.23.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.5.0",
"@types/node": "^17.0.31",
"@types/prompts": "^2.4.0",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"conventional-changelog-cli": "^2.2.2",
2020-12-20 03:33:13 +00:00
"cross-env": "^7.0.3",
"esbuild": "^0.14.38",
"eslint": "^8.15.0",
"eslint-define-config": "^1.4.0",
2020-12-08 10:55:12 +00:00
"eslint-plugin-node": "^11.1.0",
2021-06-15 05:38:00 +00:00
"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.7",
2020-04-20 23:13:22 +00:00
"npm-run-all": "^4.1.5",
"picocolors": "^1.0.0",
"playwright-chromium": "^1.21.1",
"prettier": "2.6.2",
"prompts": "^2.4.2",
2020-12-08 07:00:53 +00:00
"rimraf": "^3.0.2",
"rollup": "^2.72.1",
"semver": "^7.3.7",
"simple-git-hooks": "^2.7.0",
"sirv": "^2.0.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.6.4",
"vite": "workspace:*",
"vitepress": "^0.22.4",
"vitest": "^0.10.5"
2020-12-08 07:00:53 +00:00
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false",
"commit-msg": "pnpm exec ts-node scripts/verifyCommit.ts $1"
2020-12-08 07:00:53 +00:00
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
2020-12-08 07:00:53 +00:00
],
"packages/*/{src,types}/**/*.ts": [
"eslint --ext .ts"
],
"packages/**/*.d.ts": [
"eslint --ext .ts"
2020-12-08 07:00:53 +00:00
]
2021-09-24 20:21:04 +00:00
},
"packageManager": "pnpm@6.32.11",
2021-09-24 20:21:04 +00:00
"pnpm": {
"overrides": {
"vite": "workspace:*",
"@vitejs/plugin-vue": "workspace:*"
},
"packageExtensions": {
"postcss-load-config": {
"peerDependencies": {
"postcss": "*"
}
}
2021-09-24 20:21:04 +00:00
}
2020-04-20 08:00:10 +00:00
}
}