add publish command in package.json

This commit is contained in:
infeng 2017-03-13 11:36:46 +08:00
parent fbda225807
commit f93fbfaf73

View File

@ -8,7 +8,8 @@
"start": "dora --port 8001 --plugins \"webpack,webpack-hmr,browser-history?index=/demo/index.html\"",
"lint": "tslint -c tslint.json src/**/*.ts src/**/*.tsx",
"build": "atool-build --config webpack.config.prop.js && gulp",
"doc": "atool-build --config webpack.config.doc.js"
"doc": "atool-build --config webpack.config.doc.js",
"publish": "npm run build && npm publish"
},
"repository": {
"type": "git",