From 8a620dcc30ee045002c8e9763a702634635021d5 Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Fri, 5 May 2017 14:07:40 +0200 Subject: [PATCH] Force npm run lint before running tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cfd6088f15..a1276b865f 100644 --- a/package.json +++ b/package.json @@ -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",