Run build before publishing

This commit is contained in:
Alexey
2018-01-13 08:37:02 +00:00
parent d02373e40d
commit 281a1c1a93
+2 -1
View File
@@ -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",