Browse Source

Adds jshint as a dev dependency and uses the local installtion.

j8
George Politis 10 years ago
parent
commit
1bb6e72855
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      package.json

+ 2
- 1
package.json View File

29
   },
29
   },
30
   "devDependencies": {
30
   "devDependencies": {
31
       "precommit-hook": "3.0.0",
31
       "precommit-hook": "3.0.0",
32
+      "jshint": "2.8.0",
32
       "uglify-js": "2.4.24",
33
       "uglify-js": "2.4.24",
33
       "browserify": "11.1.x"
34
       "browserify": "11.1.x"
34
   },
35
   },
35
   "license": "Apache-2.0",
36
   "license": "Apache-2.0",
36
   "scripts": {
37
   "scripts": {
37
-    "lint": "jshint ."
38
+    "lint": "./node_modules/.bin/jshint ."
38
   },
39
   },
39
   "pre-commit": ["lint"]
40
   "pre-commit": ["lint"]
40
 }
41
 }

Loading…
Cancel
Save