vite/package.json

78 lines
2.3 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,
"workspaces": [
2020-12-22 03:00:54 +00:00
"packages/*",
"packages/playground/*"
2020-04-21 05:04:05 +00:00
],
"engines": {
"node": ">=12.0.0"
},
2020-12-08 10:55:12 +00:00
"scripts": {
2021-07-06 18:23:46 +00:00
"format": "prettier --write .",
"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",
"build": "run-s build-vite build-plugin-vue build-plugin-react",
2021-01-01 21:46:39 +00:00
"build-vite": "cd packages/vite && yarn build",
2021-01-01 21:49:47 +00:00
"build-plugin-vue": "cd packages/plugin-vue && yarn build",
"build-plugin-react": "cd packages/plugin-react && yarn build",
"ci-build-vite": "cd packages/vite && yarn 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.18.10",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
2021-06-15 05:38:00 +00:00
"@types/node": "^15.12.2",
"@types/semver": "^7.3.8",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"chalk": "^4.1.2",
2020-12-29 05:48:52 +00:00
"conventional-changelog-cli": "^2.1.1",
2020-12-20 03:33:13 +00:00
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-define-config": "^1.0.9",
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",
"jest": "^27.2.1",
"lint-staged": "^11.1.2",
2020-12-08 07:00:53 +00:00
"minimist": "^1.2.5",
"node-fetch": "^2.6.5",
2020-04-20 23:13:22 +00:00
"npm-run-all": "^4.1.5",
"playwright-chromium": "^1.15.0",
"prettier": "2.4.1",
"prompts": "^2.4.1",
2020-12-08 07:00:53 +00:00
"rimraf": "^3.0.2",
2021-06-15 05:38:00 +00:00
"semver": "^7.3.5",
"sirv": "^1.0.17",
"ts-jest": "^27.0.5",
"ts-node": "^10.1.0",
2021-09-08 02:58:19 +00:00
"typescript": "~4.3.5",
"vitepress": "^0.19.1",
2020-12-08 07:00:53 +00:00
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged --concurrent false",
2020-12-08 07:00:53 +00:00
"commit-msg": "node scripts/verifyCommit.js"
},
"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
]
2020-04-20 08:00:10 +00:00
}
}