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 60
60
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
61
61
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
62
62
"test-api" : " node --conditions development test.js" ,
63
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
63
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
64
64
"test" : " npm run build && npm run format && npm run test-coverage"
65
65
},
66
66
"prettier" : {
67
- "tabWidth" : 2 ,
68
- "useTabs" : false ,
69
- "singleQuote" : true ,
70
67
"bracketSpacing" : false ,
71
68
"semi" : false ,
72
- "trailingComma " : " none "
73
- } ,
74
- "xo " : {
75
- "prettier " : true
69
+ "singleQuote " : true ,
70
+ "tabWidth" : 2 ,
71
+ "trailingComma " : " none " ,
72
+ "useTabs " : false
76
73
},
77
74
"remarkConfig" : {
78
75
"plugins" : [
79
- " preset-wooorm"
76
+ " remark- preset-wooorm"
80
77
]
81
78
},
82
79
"typeCoverage" : {
83
80
"atLeast" : 100 ,
84
81
"detail" : true ,
85
- "strict" : true ,
86
- "ignoreCatch" : true
82
+ "ignoreCatch" : true ,
83
+ "strict" : true
84
+ },
85
+ "xo" : {
86
+ "prettier" : true
87
87
}
88
88
}
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