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