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