diff options
author | bananaappletw | 2017-02-16 12:27:17 +0800 |
---|---|---|
committer | bananaappletw | 2017-02-16 13:05:46 +0800 |
commit | 40dfffd4f47a72549fb52d39a25c630551e761fc (patch) | |
tree | f76fd8ff38285c2558beafc6e5ec8f6a270d0e7b /package.json | |
parent | c48ba0ad48d5daa3663aeb929967fa9fc0e8c4dc (diff) |
Using package.json to test lint instead
Exclude *.min.js from eslint
Diffstat (limited to '')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 2a40bf05..a179d93e 100644 --- a/package.json +++ b/package.json @@ -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", |