mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
feat: modify build site (#357)
This commit is contained in:
parent
6620d1836c
commit
c410295d46
@ -12,6 +12,7 @@
|
||||
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
||||
"clean": "rm -rf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
|
||||
"release:package": "npm run build:package && npm publish --tag next",
|
||||
"release:site": "cross-env TUSIMPLE=true npm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
|
||||
"lint": "npm run lint:code && npm run lint:type",
|
||||
"lint:type": "tsc -b --force tsconfig.esm.json",
|
||||
"lint:code": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
|
||||
|
Loading…
Reference in New Issue
Block a user