From f93fbfaf73ec7ffbe86fb42c5d687367c1f4c943 Mon Sep 17 00:00:00 2001 From: infeng Date: Mon, 13 Mar 2017 11:36:46 +0800 Subject: [PATCH] add publish command in package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 13a0ceb..9e8ecfb 100644 --- a/package.json +++ b/package.json @@ -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",