File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0-development" ,
4
4
"description" : " Danger plugin for Jest" ,
5
5
"main" : " dist/index.js" ,
6
+ "types" : " dist/index.d.ts" ,
6
7
"files" : [
7
8
" dist"
8
9
],
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as fs from 'fs'
2
2
3
3
import { TestFailureFormatter } from './TestFailureFormatter'
4
4
5
- interface IPluginConfig {
5
+ export interface IPluginConfig {
6
6
testResultsJsonPath ?: string
7
7
}
8
8
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
+ "declaration" : true ,
4
+ "declarationDir" : " dist" ,
3
5
"lib" : [" es5" , " es2015" ],
4
6
"module" : " commonjs" ,
5
7
"moduleResolution" : " node" ,
10
12
"noUnusedParameters" : true ,
11
13
"outDir" : " dist" ,
12
14
"pretty" : true ,
13
- "removeComments" : true ,
14
15
"sourceMap" : false ,
15
16
"strictNullChecks" : true ,
16
17
"suppressImplicitAnyIndexErrors" : true ,
17
18
"target" : " es5" ,
18
19
"types" : [" node" ]
19
20
},
20
21
"include" : [
21
- " src/**/*"
22
+ " src/**/*.ts "
22
23
],
23
24
"exclude" : [
24
25
" node_modules" ,
25
- " src/__tests__/ **/*"
26
+ " src/**/*.test.ts "
26
27
]
27
28
}
You can’t perform that action at this time.
0 commit comments