Skip to content

Commit c1dd8db

Browse files
committed
Update grunt and its plugins
1 parent 66c78b3 commit c1dd8db

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

Gruntfile.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = function(grunt) {
22
grunt.loadNpmTasks('grunt-contrib-concat');
3-
grunt.loadNpmTasks('grunt-contrib-watch');
43
grunt.loadNpmTasks('grunt-karma');
54

65
grunt.initConfig({
@@ -25,11 +24,6 @@ module.exports = function(grunt) {
2524
}
2625
},
2726

28-
watch: {
29-
files: ['src/**/*', 'test/**/*'],
30-
tasks: ['concat', 'karma:continuous']
31-
},
32-
3327
karma: {
3428
options: {
3529
files: [
@@ -46,13 +40,13 @@ module.exports = function(grunt) {
4640
test: {
4741
browsers: ['PhantomJS', 'Chrome', 'Firefox']
4842
},
49-
continuous: {
43+
ci: {
5044
browsers: ['PhantomJS']
5145
}
5246
}
5347
});
5448

5549
grunt.registerTask('default', ['concat']);
5650
grunt.registerTask('test', ['karma:test']);
57-
grunt.registerTask('test:ci', ['concat', 'karma:continuous']);
51+
grunt.registerTask('test:ci', ['concat', 'karma:ci']);
5852
};

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"semver": "2.3.0"
99
},
1010
"devDependencies": {
11+
"karma": "~0.12.16",
1112
"grunt": "~0.4.2",
12-
"grunt-contrib-concat": "~0.3.0",
13-
"grunt-contrib-watch": "~0.5.3",
14-
"grunt-karma": "~0.6.2",
13+
"grunt-contrib-concat": "~0.4.0",
14+
"grunt-karma": "~0.8.3",
1515
"should": "~2.1.1"
1616
},
1717
"scripts": {

0 commit comments

Comments
 (0)