Przeglądaj źródła

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

j8
George Politis 10 lat temu
rodzic
commit
1bb6e72855
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      package.json

+ 2
- 1
package.json Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz