File tree 2 files changed +15
-17
lines changed 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 62
62
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
63
63
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
64
64
"test-api" : " node --conditions development test.js" ,
65
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
65
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
66
66
"test" : " npm run build && npm run format && npm run test-coverage"
67
67
},
68
68
"prettier" : {
69
- "tabWidth" : 2 ,
70
- "useTabs" : false ,
71
- "singleQuote" : true ,
72
69
"bracketSpacing" : false ,
73
70
"semi" : false ,
74
- "trailingComma " : " none "
75
- } ,
76
- "xo " : {
77
- "prettier " : true
71
+ "singleQuote " : true ,
72
+ "tabWidth" : 2 ,
73
+ "trailingComma " : " none " ,
74
+ "useTabs " : false
78
75
},
79
76
"remarkConfig" : {
80
77
"plugins" : [
81
- " preset-wooorm"
78
+ " remark- preset-wooorm"
82
79
]
83
80
},
84
81
"typeCoverage" : {
85
82
"atLeast" : 100 ,
86
83
"detail" : true ,
87
- "strict" : true ,
88
- "ignoreCatch" : true
84
+ "ignoreCatch" : true ,
85
+ "strict" : true
86
+ },
87
+ "xo" : {
88
+ "prettier" : true
89
89
}
90
90
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/*.js" , " index.d.ts" ],
3
- "exclude" : [" coverage/" , " node_modules/" ],
4
2
"compilerOptions" : {
5
3
"checkJs" : true ,
4
+ "customConditions" : [" development" ],
6
5
"declaration" : true ,
7
6
"emitDeclarationOnly" : true ,
8
7
"exactOptionalPropertyTypes" : true ,
9
- "forceConsistentCasingInFileNames" : true ,
10
8
"lib" : [" es2020" ],
11
9
"module" : " node16" ,
12
- "newLine" : " lf" ,
13
- "skipLibCheck" : true ,
14
10
"strict" : true ,
15
11
"target" : " es2020"
16
- }
12
+ },
13
+ "exclude" : [" coverage/" , " node_modules/" ],
14
+ "include" : [" **/*.js" , " index.d.ts" ]
17
15
}
You can’t perform that action at this time.
0 commit comments