commit e9282a070a0fc0d5f7d312419fcaa38082aa701e
parent f6511a8aa0c06668a849d427a5eaf968f9fa0b69
Author: hunite <hunite@striven.com>
Date: Thu, 19 Sep 2019 08:50:59 -0400
package.json
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
@@ -10,7 +10,8 @@
"build": "npx webpack --mode=\"production\"",
"dev": "npx webpack -w",
"meta-server": "node metaserver",
- "gh-pages": "cd demo && npm run build && cd .. && node gh-pages"
+ "gh-pages": "cd demo && npm run build && cd .. && node gh-pages",
+ "publish": "npx webpack --mode=\"production\" && npm publish --access=public && console.log(\"DON'T FORGET TO UPDATE GITHUB RELEASE\")"
},
"repository": {
"type": "git",