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