Run linter with npm test.

This commit is contained in:
Julien Fontanet 2015-06-16 17:53:30 +02:00
parent 124f7f43ab
commit e9e0fdae37

View File

@ -45,7 +45,7 @@
"dev": "babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"prepublish": "npm run build",
"test": "mocha --opts .mocha.opts \"dist/**/*.spec.js\"",
"test": "npm run lint && mocha --opts .mocha.opts \"dist/**/*.spec.js\"",
"test-dev": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\""
},
"standard": {