Make sure that it builds before publishing

pull/227/head
Denis Demchenko 6 years ago
parent 44e6a21dde
commit 4c3489fa00

@ -3,4 +3,3 @@ src/useragents.js
Makefile Makefile
.nyc_output .nyc_output
coverage coverage
dist

@ -63,6 +63,8 @@
"test": "test" "test": "test"
}, },
"scripts": { "scripts": {
"build": "webpack --config webpack.config.js",
"prepublish": "npm run build",
"lint": "eslint ./src --fix", "lint": "eslint ./src --fix",
"testem": "testem", "testem": "testem",
"test": "eslint ./src & nyc --reporter=html --reporter=text ava", "test": "eslint ./src & nyc --reporter=html --reporter=text ava",

Loading…
Cancel
Save