Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds precommit-hook as an npm dependency. Automatically runs jshint before a commit.

Boris Grozeva4c844f16942
diff --git a/package.json b/package.json
index 606146fbf5..da839422ae 100644
--- a/package.json
+++ b/package.json
@@ -25,9 +25,14 @@
"async": "0.9.0",
"retry": "0.6.1",
"jssha": "1.5.0",
- "socket.io-client": "1.3.6"
+ "socket.io-client": "1.3.6",
+ "jshint": "2.8.0",
+ "precommit-hook": "3.0.0"
},
- "devDependencies": {
+ "devDependencies": {},
+ "license": "Apache",
+ "scripts": {
+ "lint": "jshint ."
},
- "license": "Apache"
+ "pre-commit": ["lint"]
}