mirror of
https://github.com/gundb/panic-server.git
synced 2026-05-07 03:00:26 -04:00
Lint code on npm test
A new npm script has been added, `lint`, which is triggered on the test command after unit tests pass. This way, greenkeeper can update lint-related deps and know if it breaks.
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
"description": "Distributed Javascript runner",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
"lint": "eslint src/**",
|
||||
"test": "mocha && npm run lint"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user