Skip to content

Commit ee59b4a

Browse files
author
Jon Bretman
committed
Run JSHint in Travis and remove peerDependencies
1 parent b87d3ed commit ee59b4a

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.jshintrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"curly": true,
33
"eqeqeq": true,
4-
"es5": true,
54
"immed": true,
65
"indent": 2,
7-
"latedef": true,
6+
"latedef": "nofunc",
87
"newcap": true,
98
"noarg": true,
109
"node": true,

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function (grunt) {
88
},
99

1010
jshint: {
11-
all: ['Gruntfile.js', 'tasks/**/*.js', '<%= nodeunit.tests %>'],
11+
all: ['Gruntfile.js', 'tasks/**/*.js', 'lib/**/*.js', 'test/*.js'],
1212
options: {
1313
jshintrc: ".jshintrc"
1414
}

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"node": ">= 0.8.x"
2828
},
2929
"scripts": {
30-
"test": "mocha -R spec --timeout 5000"
30+
"test": "grunt && mocha -R spec --timeout 5000"
3131
},
3232
"dependencies": {
3333
"async": "^0.9.0",
@@ -38,14 +38,12 @@
3838
"watchify": "^2.4.0"
3939
},
4040
"devDependencies": {
41+
"grunt": "^0.4.0",
4142
"grunt-contrib-clean": "^0.6.0",
4243
"grunt-contrib-jshint": "^0.11.0",
4344
"mocha": "^2.1.0",
4445
"sinon": "^1.12.2"
4546
},
46-
"peerDependencies": {
47-
"grunt": "^0.4.0"
48-
},
4947
"keywords": [
5048
"gruntplugin",
5149
"browserify",

0 commit comments

Comments
 (0)