summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-core/package.json')
-rw-r--r--packages/gitbook-core/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/gitbook-core/package.json b/packages/gitbook-core/package.json
index c75f05d..387a610 100644
--- a/packages/gitbook-core/package.json
+++ b/packages/gitbook-core/package.json
@@ -24,7 +24,8 @@
"scripts": {
"dist-lib": "rm -rf lib/ && babel -d lib/ src/",
"dist-standalone": "browserify -r ./lib/index.js:gitbook-core -r react -r react-dom ./lib/index.js | uglifyjs -c > gitbook.core.min.js",
- "prepublish": "npm run dist-lib && npm run dist-standalone"
+ "dist": "npm run dist-lib && npm run dist-standalone",
+ "prepublish": "npm run dist"
},
"repository": {
"type": "git",