File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- ts : {
3
- files : [ "src/ts/**/*.ts" , "Gruntfile.js" ] ,
4
- tasks : [ "distBase" ] ,
2
+ ts : { // all ts except the file reader ones (to avoid double-reload)
3
+ files : [ "src/ts/**/*.ts" , "!src/ts/file-reader.ts" ] ,
4
+ tasks : [ "browserify:dist" ] ,
5
+ options : {
6
+ spawn : false ,
7
+ interrupt : true
8
+ } ,
9
+ } ,
10
+ fileReader : { //handle file-reader builds
11
+ files : [ "src/ts/file-reader.ts" , "src/zip/*.js" ] ,
12
+ tasks : [ "distFileReader" ] ,
5
13
options : {
6
14
spawn : false ,
7
15
interrupt : true
Original file line number Diff line number Diff line change 8
8
"lint" : " grunt tslint" ,
9
9
"watch" : " npm run start & grunt default" ,
10
10
"build" : " grunt releaseBuild" ,
11
- "start" : " live-server --wait=50 --open= src/index.html --ignore=src/ts/ " ,
11
+ "start" : " live-server --watch=build/stage/, src/index.html --ignore=build/stage/temp/ --open=src/index.html " ,
12
12
"clearJS" : " find ./src/ts -iname \" *.js\" -delete && find ./src/ts -iname \" *.map\" -delete" ,
13
13
"ghPages" : " grunt ghPages" ,
14
14
"release-patch" : " grunt release" ,
48
48
"grunt-tslint" : " ^4.0.0" ,
49
49
"live-server" : " ^1.2.0" ,
50
50
"load-grunt-config" : " ^0.19.2" ,
51
- "tsify" : " ^3.0.0 " ,
52
- "tslint" : " ^4.3.1 " ,
51
+ "tsify" : " ^3.0.1 " ,
52
+ "tslint" : " ^4.4.2 " ,
53
53
"typescript" : " ^2.1.5"
54
54
}
55
55
}
You can’t perform that action at this time.
0 commit comments