Add prepublish npm script

This commit is contained in:
Mohammad Fares 2018-11-04 18:17:21 +02:00
parent f757546b31
commit 70a3ec683f
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@
},
"scripts": {
"dev": "NODE_ENV=development webpack --watch",
"build": "NODE_ENV=production webpack --optimize-minimize --progress --colors"
"build": "NODE_ENV=production webpack --optimize-minimize --progress --colors",
"prepublish": "npm run build"
},
"keywords": [
"terminal",