add jshint + precommit-hook

This commit is contained in:
Philipp Hancke 2014-04-13 14:25:47 +02:00
parent a97cf7e0fa
commit 67e34e1a10
4 changed files with 44 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

5
.jshintignore Normal file
View File

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

15
.jshintrc Normal file
View File

@ -0,0 +1,15 @@
{
"asi": false,
"expr": true,
"loopfunc": true,
"curly": false,
"evil": true,
"white": true,
"undef": true,
"browser": true,
"node": true,
"trailing": true,
"indent": 4,
"latedef": true,
"newcap": true
}

23
package.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "jitsi-meet",
"version": "0.0.0",
"description": "A sample app for the Jitsi Videobridge",
"repository": {
"type": "git",
"url": "git://github.com/jitsi/jitsi-meet"
},
"keywords": [
"jingle",
"webrtc",
"xmpp",
"browser"
],
"author": "",
"readmeFilename": "README.md",
"dependencies": {
},
"devDependencies": {
"precommit-hook": "0.3.x"
},
"license": "MIT"
}