1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Make sure that it builds before publishing

This commit is contained in:
Denis Demchenko 2018-07-09 19:05:19 +03:00
parent 44e6a21dde
commit 4c3489fa00
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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",