Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 721fa7b

Browse files
committed
Using branch of jsonlint that supports multiple files
zaach/jsonlint#75
1 parent d183f2e commit 721fa7b

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

bower.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"name": "jasmine-moment-matchers",
33
"description": "Matchers for use with Jasmine testing framework and moment.js",
4-
"main": "index.js",
4+
"main": [
5+
"dist/jasmine-moment-matchers.js"
6+
],
57
"authors": [
68
"Matt Newman"
79
],
@@ -20,7 +22,4 @@
2022
"index.js",
2123
"package.json"
2224
]
23-
"main": [
24-
"dist/jasmine-moment-matchers.js"
25-
]
26-
}
25+
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Matchers for use with Jasmine testing framework and moment.js",
55
"main": "index.js",
66
"scripts": {
7-
"lint": "jshint **.js lib/ spec/ && jscs **.js lib/ spec/ && jsonlint --in-place .jscsrc *.json lib/**/*.json spec/**/*.json",
7+
"lint": "jshint **.js lib/ spec/ && jscs **.js lib/ spec/ && jsonlint --in-place .jscsrc *.json spec/**/*.json",
88
"test": "jasmine",
99
"browserify": "browserify lib/index.js -o dist/jasmine-moment-matchers.js",
1010
"build": "npm run lint && npm test && npm run browserify"
@@ -20,10 +20,10 @@
2020
"jasmine": "^2.4.1",
2121
"jscs": "^2.9.0",
2222
"jshint": "^2.9.1",
23-
"jsonlint": "^1.6.2",
23+
"jsonlint": "github:ginman86/jsonlint#c95cda556d2c719ec723422ac0541a6531356747",
2424
"moment": "^2.11.1"
2525
},
2626
"peerDependencies": {
2727
"moment": ">=1.5.0 <3"
2828
}
29-
}
29+
}

spec/support/jasmine.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
],
99
"stopSpecOnExpectationFailure": false,
1010
"random": false
11-
}
11+
}

0 commit comments

Comments
 (0)