File tree 2 files changed +16
-17
lines changed
2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 54
54
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
55
55
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
56
56
"test-api" : " node --conditions development test.js" ,
57
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
57
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
58
58
"test" : " npm run build && npm run format && npm run test-coverage"
59
59
},
60
60
"prettier" : {
61
- "tabWidth" : 2 ,
62
- "useTabs" : false ,
63
- "singleQuote" : true ,
64
61
"bracketSpacing" : false ,
65
62
"semi" : false ,
66
- "trailingComma " : " none "
67
- } ,
68
- "xo " : {
69
- "prettier " : true
63
+ "singleQuote " : true ,
64
+ "tabWidth" : 2 ,
65
+ "trailingComma " : " none " ,
66
+ "useTabs " : false
70
67
},
71
68
"remarkConfig" : {
72
69
"plugins" : [
73
- " preset-wooorm"
70
+ " remark- preset-wooorm"
74
71
]
75
72
},
76
73
"typeCoverage" : {
77
74
"atLeast" : 100 ,
78
75
"detail" : true ,
79
- "strict " : true ,
76
+ "ignoreCatch " : true ,
80
77
"ignoreFiles" : [
81
78
" lib/index.d.ts"
82
- ]
79
+ ],
80
+ "strict" : true
81
+ },
82
+ "xo" : {
83
+ "prettier" : true
83
84
}
84
85
}
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