瀏覽代碼

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

master
George Politis 9 年之前
父節點
當前提交
1bb6e72855
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      package.json

+ 2
- 1
package.json 查看文件

@@ -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
 }

Loading…
取消
儲存