There was an error while loading. Please reload this page.
1 parent a0f2b8b commit b223a4aCopy full SHA for b223a4a
1 file changed
package.json
@@ -4,12 +4,17 @@
4
"description": "Restapi server for opneFPGAduino",
5
"main": "server.js",
6
"scripts": {
7
- "test": "node_modules/mocha/bin/mocha ut/mocha.js --timeout 10000"
+ "test": "node_modules/mocha/bin/mocha ut/mocha.js --timeout 10000",
8
+ "jslint": "jslint 'apps/*.js' 'server.js'"
9
},
10
"repository": {
11
"type": "git",
12
"url": "https://github.com/OpenFPGAduino/Arduinojs.git"
13
14
+ "pre-commit": [
15
+ "test",
16
+ "jslint"
17
+ ],
18
"dependencies": {
19
"bluebird": "*",
20
"optimist": "*",
@@ -51,7 +56,10 @@
51
56
"author": "Zhizhou Li",
52
57
"license": "GPL",
53
58
"readmeFilename": "README.md",
54
- "devDependencies": {},
59
+ "devDependencies": {
60
+ "pre-commit": "0.0.9",
61
+ "jslint": "0.6.4"
62
+ },
55
63
"keywords": [
64
"Restapi",
65
"node"
0 commit comments