Browse Source

add jshint + precommit-hook

j8
Philipp Hancke 11 years ago
parent
commit
67e34e1a10
4 changed files with 44 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 5
    0
      .jshintignore
  3. 15
    0
      .jshintrc
  4. 23
    0
      package.json

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
1
+node_modules

+ 5
- 0
.jshintignore View File

@@ -0,0 +1,5 @@
1
+node_modules
2
+replacement.js
3
+prezi.js
4
+muc.js
5
+app.js

+ 15
- 0
.jshintrc View File

@@ -0,0 +1,15 @@
1
+{
2
+    "asi": false,
3
+    "expr": true,
4
+    "loopfunc": true,
5
+    "curly": false,
6
+    "evil": true,
7
+    "white": true,
8
+    "undef": true,
9
+    "browser": true,
10
+    "node": true,
11
+    "trailing": true,
12
+    "indent": 4,
13
+    "latedef": true,
14
+    "newcap": true
15
+}

+ 23
- 0
package.json View File

@@ -0,0 +1,23 @@
1
+{
2
+  "name": "jitsi-meet",
3
+  "version": "0.0.0",
4
+  "description": "A sample app for the Jitsi Videobridge",
5
+  "repository": {
6
+    "type": "git",
7
+    "url": "git://github.com/jitsi/jitsi-meet"
8
+  },
9
+  "keywords": [
10
+    "jingle",
11
+    "webrtc",
12
+    "xmpp",
13
+    "browser"
14
+  ],
15
+  "author": "",
16
+  "readmeFilename": "README.md",
17
+  "dependencies": {
18
+  },
19
+  "devDependencies": {
20
+    "precommit-hook": "0.3.x"
21
+  },
22
+  "license": "MIT"
23
+}

Loading…
Cancel
Save