Permalink
Browse files

简化发布流程

1 parent 725fc16 commit 1b48ae138f39e4e94bda57c44f983ea3bfbcf249 @zhaoda committed Apr 9, 2016
Showing with 1 addition and 3 deletions.
  1. +1 −0 package.json
  2. +0 −3 scripts/publish-webpackdoc.sh
View
@@ -11,6 +11,7 @@
"generate-and-deploy": "npm run generate-gitbook && npm run generate-wiki && npm run deploy-gitbook && npm run deploy-wiki",
"publish-gitbook": "./scripts/publish-gitbook.sh",
"publish-webpackdoc": "./scripts/publish-webpackdoc.sh",
+ "publish": "npm run generate-and-deploy && npm run publish-gitbook && npm run publish-webpackdoc",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@@ -4,9 +4,6 @@ cp -a content webpackdoc
cd webpackdoc
rm -rf _book
-rm -rf node_modules
-
-gitbook install
git init

0 comments on commit 1b48ae1

Please sign in to comment.