Run build before publishing
This commit is contained in:
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 0",
|
"test": "echo \"Error: no test specified\" && exit 0",
|
||||||
"build": "NODE_ENV=production babel src --out-dir=es"
|
"build": "NODE_ENV=production babel src --out-dir=es",
|
||||||
|
"prepublish": "npm run build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user