chore: update npm script
Showing
.browserslistrc
0 → 100644
build/jsc.ts
已删除
100644 → 0
build/script/cli.ts
已删除
100644 → 0
... | ... | @@ -2,21 +2,22 @@ |
"name": "vben-admin-2.0", | ||
"version": "2.0.0-rc.5", | ||
"scripts": { | ||
"bootstrap": "yarn install || npm install", | ||
"serve": "cross-env ts-node --files -P ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite", | ||
"build": "cross-env NODE_ENV=production vite build && node ./build/jsc.ts build", | ||
"bootstrap": "yarn install", | ||
"serve": "esno ./build/script/preserve.ts && cross-env NODE_ENV=development vite", | ||
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", | ||
"build:site": "cross-env SITE=true npm run build ", | ||
"build:no-cache": "yarn clean:cache && node ./build/jsc.ts build", | ||
"build:no-cache": "yarn clean:cache && npm run build", | ||
"report": "cross-env REPORT=true npm run build ", | ||
"preview": "node ./build/jsc.ts preview", | ||
"log": "node ./build/jsc.ts log", | ||
"preview": "npm run build && esno ./build/script/preview.ts", | ||
"preview:dist": "esno ./build/script/preview.ts", | ||
"log": "esno ./build/script/changelog.ts", | ||
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache", | ||
"clean:lib": "npx rimraf node_modules", | ||
"ls-lint": "npx ls-lint", | ||
"lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"", | ||
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | ||
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
"reinstall": "rimraf node_modules && rimraf yarn.lock && rimraf package.lock.json && npm run bootstrap" | ||
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap" | ||
}, | ||
"dependencies": { | ||
"@iconify/iconify": "^2.0.0-rc.1", | ||
... | ... | @@ -42,13 +43,12 @@ |
"devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@iconify/json": "^1.1.246", | ||
"@iconify/json": "^1.1.247", | ||
"@ls-lint/ls-lint": "^1.9.2", | ||
"@purge-icons/generated": "^0.4.1", | ||
"@types/echarts": "^4.8.3", | ||
"@types/fs-extra": "^9.0.2", | ||
"@types/html-minifier": "^4.0.0", | ||
"@types/inquirer": "^7.3.1", | ||
"@types/koa-static": "^4.0.1", | ||
"@types/lodash-es": "^4.17.3", | ||
"@types/mockjs": "^1.0.3", | ||
... | ... | @@ -70,10 +70,10 @@ |
"eslint-config-prettier": "^6.14.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-vue": "^7.1.0", | ||
"esno": "^0.2.4", | ||
"fs-extra": "^9.0.1", | ||
"html-minifier": "^4.0.0", | ||
"husky": "^4.3.0", | ||
"inquirer": "^7.3.3", | ||
"koa-static": "^5.0.0", | ||
"less": "^3.12.2", | ||
"lint-staged": "^10.4.2", | ||
... | ... |
此差异已折叠。
想要评论请 注册 或 登录