Force npm run lint before running tests

This commit is contained in:
Sebastien Chopin 2017-05-05 14:07:40 +02:00
parent 49a9052898
commit 8a620dcc30

View File

@ -38,7 +38,7 @@
"nuxt": "./bin/nuxt"
},
"scripts": {
"test": "nyc ava --verbose --serial test/",
"test": "npm run lint && nyc ava --verbose --serial test/",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "eslint --ext .js,.vue bin lib pages test/*.js --ignore-pattern lib/app",
"build": "webpack",