Using package.json to test lint instead

Exclude *.min.js from eslint
This commit is contained in:
bananaappletw
2017-02-16 12:27:17 +08:00
parent c48ba0ad48
commit 40dfffd4f4
4 changed files with 3 additions and 6 deletions

View File

@@ -5,7 +5,8 @@
"main": "app.js",
"license": "MIT",
"scripts": {
"test": "make lint",
"test": "npm run-script lint",
"lint": "eslint .",
"dev": "webpack --config webpack.config.js --progress --colors --watch",
"build": "webpack --config webpack.production.js --progress --colors",
"postinstall": "bin/heroku",