2020-04-20 08:00:10 +00:00
|
|
|
{
|
2020-12-06 23:21:10 +00:00
|
|
|
"name": "vite-monorepo",
|
|
|
|
"private": true,
|
2021-06-11 15:46:17 +00:00
|
|
|
"engines": {
|
2021-12-19 08:26:40 +00:00
|
|
|
"node": ">=12.2.0"
|
2021-06-11 15:46:17 +00:00
|
|
|
},
|
2020-12-08 10:55:12 +00:00
|
|
|
"scripts": {
|
2021-11-11 08:17:24 +00:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2021-07-06 18:23:46 +00:00
|
|
|
"format": "prettier --write .",
|
2021-07-28 05:11:23 +00:00
|
|
|
"lint": "eslint packages/*/{src,types}/**",
|
2020-12-20 03:33:13 +00:00
|
|
|
"test": "run-s test-serve test-build",
|
|
|
|
"test-serve": "jest",
|
2020-12-22 20:34:02 +00:00
|
|
|
"debug-serve": "cross-env VITE_DEBUG_SERVE=1 node --inspect-brk ./node_modules/.bin/jest",
|
2021-01-24 02:24:09 +00:00
|
|
|
"test-build": "cross-env VITE_TEST_BUILD=1 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",
|
2021-05-29 20:15:30 +00:00
|
|
|
"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": {
|
2021-12-29 13:49:15 +00:00
|
|
|
"@microsoft/api-extractor": "^7.19.3",
|
2021-09-23 07:10:45 +00:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
2021-11-22 08:27:53 +00:00
|
|
|
"@types/jest": "^27.0.3",
|
2021-12-29 13:49:15 +00:00
|
|
|
"@types/node": "^16.11.17",
|
2021-12-18 12:06:39 +00:00
|
|
|
"@types/prompts": "^2.0.14",
|
2021-11-07 10:37:05 +00:00
|
|
|
"@types/semver": "^7.3.9",
|
2021-12-29 13:49:15 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
|
|
"@typescript-eslint/parser": "^5.8.1",
|
2021-08-02 03:48:17 +00:00
|
|
|
"chalk": "^4.1.2",
|
2021-12-29 13:49:15 +00:00
|
|
|
"conventional-changelog-cli": "^2.2.2",
|
2020-12-20 03:33:13 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2021-12-29 11:51:46 +00:00
|
|
|
"esbuild": "0.14.3",
|
2021-12-29 13:49:15 +00:00
|
|
|
"eslint": "^8.5.0",
|
|
|
|
"eslint-define-config": "^1.2.1",
|
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.0.0",
|
2021-12-17 11:26:20 +00:00
|
|
|
"jest": "^27.4.5",
|
2021-12-29 13:49:15 +00:00
|
|
|
"lint-staged": "^12.1.4",
|
2020-12-08 07:00:53 +00:00
|
|
|
"minimist": "^1.2.5",
|
2021-11-06 10:28:17 +00:00
|
|
|
"node-fetch": "^2.6.6",
|
2020-04-20 23:13:22 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-12-17 11:26:20 +00:00
|
|
|
"playwright-chromium": "^1.17.1",
|
|
|
|
"prettier": "2.5.1",
|
2021-11-07 10:37:05 +00:00
|
|
|
"prompts": "^2.4.2",
|
2020-12-08 07:00:53 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2021-11-06 10:28:17 +00:00
|
|
|
"rollup": "^2.59.0",
|
2021-06-15 05:38:00 +00:00
|
|
|
"semver": "^7.3.5",
|
2021-12-17 11:26:20 +00:00
|
|
|
"sirv": "^1.0.19",
|
|
|
|
"ts-jest": "^27.1.2",
|
2021-11-07 10:37:05 +00:00
|
|
|
"ts-node": "^10.4.0",
|
2021-12-29 10:32:49 +00:00
|
|
|
"typescript": "~4.5.4",
|
2021-11-06 10:28:17 +00:00
|
|
|
"vite": "workspace:*",
|
2021-12-29 13:49:15 +00:00
|
|
|
"vitepress": "^0.20.10",
|
2021-11-06 10:28:17 +00:00
|
|
|
"yorkie": "^2.0.0"
|
2020-12-08 07:00:53 +00:00
|
|
|
},
|
|
|
|
"gitHooks": {
|
2021-07-28 05:11:23 +00:00
|
|
|
"pre-commit": "lint-staged --concurrent false",
|
2021-12-18 12:06:39 +00:00
|
|
|
"commit-msg": "ts-node scripts/verifyCommit.ts"
|
2020-12-08 07:00:53 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2021-07-28 05:11:23 +00:00
|
|
|
"*": [
|
2021-08-26 08:39:44 +00:00
|
|
|
"prettier --write --ignore-unknown"
|
2020-12-08 07:00:53 +00:00
|
|
|
],
|
2021-07-28 05:11:23 +00:00
|
|
|
"packages/*/{src,types}/**/*.ts": [
|
|
|
|
"eslint --ext .ts"
|
2021-01-16 19:13:59 +00:00
|
|
|
],
|
2021-07-28 05:11:23 +00:00
|
|
|
"packages/**/*.d.ts": [
|
|
|
|
"eslint --ext .ts"
|
2020-12-08 07:00:53 +00:00
|
|
|
]
|
2021-09-24 20:21:04 +00:00
|
|
|
},
|
2021-12-29 13:49:15 +00:00
|
|
|
"packageManager": "pnpm@6.24.4",
|
2021-09-24 20:21:04 +00:00
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"vite": "workspace:*",
|
|
|
|
"@vitejs/plugin-vue": "workspace:*"
|
|
|
|
}
|
2020-04-20 08:00:10 +00:00
|
|
|
}
|
|
|
|
}
|