Run linter as tests
This commit is contained in:
parent
d425aec2e4
commit
1069f81360
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "webpack",
|
||||
"pretest": "eslint index.js lib/*.js elements/*.js infodisplay/*.js events/*.js",
|
||||
"lint": "eslint index.js lib/*.js elements/*.js infodisplay/*.js events/*.js",
|
||||
"dev": "webpack-dev-server",
|
||||
"start": "node server",
|
||||
"test": "npm run build"
|
||||
"test": "npm run lint"
|
||||
},
|
||||
"author": "Henri Bergius <henri.bergius@iki.fi>",
|
||||
"license": "MIT",
|
||||
|
|
Loading…
Reference in a new issue