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
.nyc_output
coverage
dist

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

Loading…
Cancel
Save