File tree 2 files changed +5
-11
lines changed 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = function ( grunt ) {
2
2
grunt . loadNpmTasks ( 'grunt-contrib-concat' ) ;
3
- grunt . loadNpmTasks ( 'grunt-contrib-watch' ) ;
4
3
grunt . loadNpmTasks ( 'grunt-karma' ) ;
5
4
6
5
grunt . initConfig ( {
@@ -25,11 +24,6 @@ module.exports = function(grunt) {
25
24
}
26
25
} ,
27
26
28
- watch : {
29
- files : [ 'src/**/*' , 'test/**/*' ] ,
30
- tasks : [ 'concat' , 'karma:continuous' ]
31
- } ,
32
-
33
27
karma : {
34
28
options : {
35
29
files : [
@@ -46,13 +40,13 @@ module.exports = function(grunt) {
46
40
test : {
47
41
browsers : [ 'PhantomJS' , 'Chrome' , 'Firefox' ]
48
42
} ,
49
- continuous : {
43
+ ci : {
50
44
browsers : [ 'PhantomJS' ]
51
45
}
52
46
}
53
47
} ) ;
54
48
55
49
grunt . registerTask ( 'default' , [ 'concat' ] ) ;
56
50
grunt . registerTask ( 'test' , [ 'karma:test' ] ) ;
57
- grunt . registerTask ( 'test:ci' , [ 'concat' , 'karma:continuous ' ] ) ;
51
+ grunt . registerTask ( 'test:ci' , [ 'concat' , 'karma:ci ' ] ) ;
58
52
} ;
Original file line number Diff line number Diff line change 8
8
"semver" : " 2.3.0"
9
9
},
10
10
"devDependencies" : {
11
+ "karma" : " ~0.12.16" ,
11
12
"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" ,
15
15
"should" : " ~2.1.1"
16
16
},
17
17
"scripts" : {
You can’t perform that action at this time.
0 commit comments