File tree Expand file tree Collapse file tree 5 files changed +42
-5
lines changed Expand file tree Collapse file tree 5 files changed +42
-5
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "repos" : [
3+ {
4+ "url" : " https://github.com/borisyankov/DefinitelyTyped.git" ,
5+ "ref" : " master"
6+ }
7+ ],
8+ "path" : " typings" ,
9+ "bundle" : " typings/bundle.d.ts" ,
10+ "link" : {
11+ "npm" : {
12+ "include" : true
13+ }
14+ },
15+ "dependencies" : {
16+ "node/node.d.ts" : {
17+ "ref" : " 09e37435ffb2c56a6f908081194a74756f24f99d"
18+ },
19+ "es6-promise/es6-promise.d.ts" : {
20+ "ref" : " 09e37435ffb2c56a6f908081194a74756f24f99d"
21+ }
22+ }
23+ }
Original file line number Diff line number Diff line change 11import tsfmt = require( "typescript-formatter" ) ;
22
3- var result = tsfmt . processFiles ( [ "./index.ts" ] , {
3+ tsfmt
4+ . processFiles ( [ "./index.ts" ] , {
45 dryRun : true ,
56replace : false ,
7+ verify : false ,
68 tslint : true ,
79editorconfig : true ,
810 tsfmt : true
11+ } )
12+ . then ( result => {
13+ console . log ( result [ "./index.ts" ] . dest ) ;
914} ) ;
10-
11- console . log ( result [ "./index.ts" ] . dest ) ;
Original file line number Diff line number Diff line change 1010 "author" : " vvakame+dev@gmail.com" ,
1111 "license" : " MIT" ,
1212 "dependencies" : {
13- "typescript-formatter" : " ^0.1.2 "
13+ "typescript-formatter" : " ^1.0.0 "
1414 }
1515}
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "module" : " commonjs" ,
4+ "target" : " es5" ,
5+ "noImplicitAny" : true ,
6+ "rootDir" : " ." ,
7+ "sourceMap" : false
8+ },
9+ "exclude" : [
10+ " node_modules"
11+ ]
12+ }
You can’t perform that action at this time.
0 commit comments