Browse Source

Adds jshint and precommit-hook to devDependencies.

dev1
Boris Grozev 10 years ago
parent
commit
11a231e5ff
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      package.json

+ 9
- 1
package.json View File

@@ -27,7 +27,15 @@
27 27
       "jitsi-meet-logger": "jitsi/jitsi-meet-logger"
28 28
   },
29 29
   "devDependencies": {
30
-    "browserify": "11.1.x"
30
+    "browserify": "11.1.x",
31
+    "jshint": "^2.8.0",
32
+    "precommit-hook": "^3.0.0"
31 33
   },
34
+  "scripts": {
35
+    "lint": "./node_modules/.bin/jshint ."
36
+  },
37
+  "pre-commit": [
38
+    "lint"
39
+  ],
32 40
   "license": "Apache-2.0"
33 41
 }

Loading…
Cancel
Save