简化命令
parent
602116e2fa
commit
b08b6ed1bd
30
package.json
30
package.json
|
@ -7,30 +7,18 @@
|
||||||
"url": "https://github.com/jeecgboot/jeecgboot-vue3"
|
"url": "https://github.com/jeecgboot/jeecgboot-vue3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "pnpm install",
|
"install": "pnpm install",
|
||||||
"serve": "npm run dev",
|
|
||||||
"dev": "vite",
|
|
||||||
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
|
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
|
||||||
"clean:lib": "rimraf node_modules",
|
"dev": "vite",
|
||||||
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
|
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
|
||||||
"build-report": "cross-env REPORT=true npm run build",
|
"build:report": "pnpm clean:cache && cross-env REPORT=true npm run build",
|
||||||
"build:no-cache": "pnpm clean:cache && npm run build",
|
|
||||||
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
|
||||||
"preview": "npm run build && vite preview",
|
"preview": "npm run build && vite preview",
|
||||||
"preview:dist": "vite preview",
|
"reinstall": "rimraf pnpm-lock.yaml && yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run install",
|
||||||
"log": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
"clean:lib": "rimraf node_modules",
|
||||||
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
"gen:icon": "esno ./build/generate/icon/index.ts",
|
||||||
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
"batch:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
||||||
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
"upgrade:log": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||||
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
"husky:install": "husky install"
|
||||||
"lint:pretty": "pretty-quick --staged",
|
|
||||||
"test:unit": "jest",
|
|
||||||
"test:unit-coverage": "jest --coverage",
|
|
||||||
"test:gzip": "http-server dist --cors --gzip -c-1",
|
|
||||||
"test:br": "http-server dist --cors --brotli -c-1",
|
|
||||||
"reinstall": "rimraf pnpm-lock.yaml && yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
|
||||||
"prepare": "husky install",
|
|
||||||
"gen:icon": "esno ./build/generate/icon/index.ts"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@jeecg/online": "3.5.3-beta3",
|
"@jeecg/online": "3.5.3-beta3",
|
||||||
|
|
Loading…
Reference in New Issue