mirror of
https://github.com/doocs/md.git
synced 2025-01-22 20:04:39 +08:00
fix: build cli (#462)
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
This commit is contained in:
parent
a5c1aafa1c
commit
79477702d2
@ -10,7 +10,7 @@
|
|||||||
"build:only": "vite build",
|
"build:only": "vite build",
|
||||||
"build:h5-netlify": "run-p type-check \"build:h5-netlify:only {@}\" --",
|
"build:h5-netlify": "run-p type-check \"build:h5-netlify:only {@}\" --",
|
||||||
"build:h5-netlify:only": "cross-env SERVER_ENV=NETLIFY vite build",
|
"build:h5-netlify:only": "cross-env SERVER_ENV=NETLIFY vite build",
|
||||||
"build:cli": "npm run build && npm run shx rm -rf md-cli/dist && npm run shx rm -rf dist/**/*.map && npm run shx cp -r dist md-cli/ && cd md-cli && npm run pack",
|
"build:cli": "npm run build && npx shx rm -rf md-cli/dist && npx shx rm -rf dist/**/*.map && npx shx cp -r dist md-cli/ && cd md-cli && npm pack",
|
||||||
"build:analyze": "cross-env ANALYZE=true vite build",
|
"build:analyze": "cross-env ANALYZE=true vite build",
|
||||||
"preview": "npm run build && vite preview",
|
"preview": "npm run build && vite preview",
|
||||||
"release:cli": "node ./bin/release.js",
|
"release:cli": "node ./bin/release.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user