feat: modify build site (#357)

This commit is contained in:
Wanli Song 2021-04-01 18:23:11 +08:00 committed by GitHub Enterprise
parent 6620d1836c
commit c410295d46

View File

@ -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}\"",