Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
chore: update deps and add temp config file for grunt-karma
Browse files Browse the repository at this point in the history
Because grunt-karma currently support 0.8, but this plugin requires a 0.9 as a peer dependency….
  • Loading branch information
vojtajina committed Apr 12, 2013
1 parent aadfadf commit b613c05
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = (grunt) ->

karma:
adapter:
configFile: 'karma.conf.js'
configFile: 'karma-v0.8.conf.js'
autoWatch: false
singleRun: true
reporters: ['dots']
Expand Down
10 changes: 10 additions & 0 deletions karma-v0.8.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
files = [
JASMINE,
JASMINE_ADAPTER,
'src/*.js',
'test/*.js'
];

browsers = process.env.TRAVIS ? ['Firefox'] : ['Chrome'];

autoWatch = true;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"dependencies": {
},
"devDependencies": {
"grunt": "~0.4.0rc5",
"grunt-contrib-jshint": "~0.1.1rc5",
"karma": "*",
"grunt": "~0.4",
"grunt-contrib-jshint": "~0.3",
"karma": "~0.9",
"karma-jasmine": "*",
"grunt-karma": "~0.3"
"grunt-karma": "~0.4"
},
"peerDependencies": {
"karma": "~0.9"
Expand Down

0 comments on commit b613c05

Please sign in to comment.