Skip to content

Commit b1874bd

Browse files
author
Niall O'Higgins
committed
lint and mocha
1 parent 7d87dcd commit b1874bd

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.jshintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"strict": false,
3+
"laxcomma": true,
4+
"laxbreak": true,
5+
"undef": true,
6+
"node": true,
7+
"-W033": false,
8+
"-W024": false,
9+
"-W030": false,
10+
"-W069": false,
11+
"-W089": false,
12+
"-W093": false,
13+
"-W098": false,
14+
"-W116": false,
15+
"-W083": false,
16+
"-W065": false
17+
}

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.2.0",
44
"description": "Python/Pyramid/Django support for Strider Continuous Deployment",
55
"scripts": {
6-
"test": "echo \"Error: no test specified\" && exit 1"
6+
"test": "jshint && mocha -R tap"
77
},
88
"repository": {
99
"type": "git",
@@ -18,13 +18,18 @@
1818
"id": "python",
1919
"title": "Python",
2020
"webapp": "webapp.js",
21-
"worker":"worker.js",
21+
"worker": "worker.js",
2222
"icon": "icon.png",
2323
"config": true
2424
},
2525
"author": "Niall O'Higgins",
2626
"license": "BSD",
2727
"dependencies": {
2828
"strider-detection-rules": "0.0.1"
29+
},
30+
"devDependencies": {
31+
"chai": "~1.8.1",
32+
"jshint": "~2.3.0",
33+
"mocha": "~1.14.0"
2934
}
3035
}

0 commit comments

Comments
 (0)