Merge pull request #1010 from docsifyjs/prepare-script

feat: Add a prepare script.
This commit is contained in:
Joe Pea 2020-01-27 23:18:37 -08:00 committed by GitHub
commit 07f6edc9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@
"build:ssr": "node build/ssr.js",
"build:cover": "node build/cover.js",
"build": "rimraf lib themes && run-s build:js build:css build:css:min build:ssr build:cover",
"prepare": "npm run build",
"pub:next": "cross-env RELEASE_TAG=next sh build/release.sh",
"pub": "sh build/release.sh",
"postinstall": "opencollective-postinstall"