File tree 2 files changed +14
-15
lines changed
2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 48
48
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
49
49
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
50
50
"test-api" : " node --conditions development test.js" ,
51
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
51
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
52
52
"test" : " npm run build && npm run format && npm run test-coverage"
53
53
},
54
54
"prettier" : {
55
- "tabWidth" : 2 ,
56
- "useTabs" : false ,
57
- "singleQuote" : true ,
58
55
"bracketSpacing" : false ,
59
56
"semi" : false ,
60
- "trailingComma " : " none "
61
- } ,
62
- "xo " : {
63
- "prettier " : true
57
+ "singleQuote " : true ,
58
+ "tabWidth" : 2 ,
59
+ "trailingComma " : " none " ,
60
+ "useTabs " : false
64
61
},
65
62
"remarkConfig" : {
66
63
"plugins" : [
67
- " preset-wooorm"
64
+ " remark- preset-wooorm"
68
65
]
69
66
},
70
67
"typeCoverage" : {
71
68
"atLeast" : 100 ,
72
69
"detail" : true ,
70
+ "ignoreCatch" : true ,
73
71
"strict" : true
72
+ },
73
+ "xo" : {
74
+ "prettier" : true
74
75
}
75
76
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/**.js" ],
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" ]
17
15
}
You can’t perform that action at this time.
0 commit comments