File tree 5 files changed +42
-5
lines changed
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 1
1
import tsfmt = require( "typescript-formatter" ) ;
2
2
3
- var result = tsfmt . processFiles ( [ "./index.ts" ] , {
3
+ tsfmt
4
+ . processFiles ( [ "./index.ts" ] , {
4
5
dryRun : true ,
5
6
replace : false ,
7
+ verify : false ,
6
8
tslint : true ,
7
9
editorconfig : true ,
8
10
tsfmt : true
11
+ } )
12
+ . then ( result => {
13
+ console . log ( result [ "./index.ts" ] . dest ) ;
9
14
} ) ;
10
-
11
- console . log ( result [ "./index.ts" ] . dest ) ;
Original file line number Diff line number Diff line change 10
10
"author" : " vvakame+dev@gmail.com" ,
11
11
"license" : " MIT" ,
12
12
"dependencies" : {
13
- "typescript-formatter" : " ^0.1.2 "
13
+ "typescript-formatter" : " ^1.0.0 "
14
14
}
15
15
}
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