summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorbananaappletw2017-02-16 12:27:17 +0800
committerbananaappletw2017-02-16 13:05:46 +0800
commit40dfffd4f47a72549fb52d39a25c630551e761fc (patch)
treef76fd8ff38285c2558beafc6e5ec8f6a270d0e7b /package.json
parentc48ba0ad48d5daa3663aeb929967fa9fc0e8c4dc (diff)
Using package.json to test lint instead
Exclude *.min.js from eslint
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
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",