소스 검색

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

master
George Politis 10 년 전
부모
커밋
1bb6e72855
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      package.json

+ 2
- 1
package.json 파일 보기

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…
취소
저장