File tree Expand file tree Collapse file tree 2 files changed +21
-23
lines changed Expand file tree Collapse file tree 2 files changed +21
-23
lines changed Original file line number Diff line number Diff line change 64
64
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
65
65
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
66
66
"test-api" : " node --conditions development test/index.js" ,
67
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
67
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
68
68
"test" : " npm run build && npm run format && npm run test-coverage"
69
69
},
70
70
"prettier" : {
71
- "tabWidth" : 2 ,
72
- "useTabs" : false ,
73
- "singleQuote" : true ,
74
71
"bracketSpacing" : false ,
75
72
"semi" : false ,
76
- "trailingComma" : " none"
77
- },
78
- "xo" : {
79
- "prettier" : true ,
80
- "rules" : {
81
- "complexity" : " off" ,
82
- "unicorn/prefer-code-point" : " off" ,
83
- "unicorn/prefer-switch" : " off"
84
- }
73
+ "singleQuote" : true ,
74
+ "tabWidth" : 2 ,
75
+ "trailingComma" : " none" ,
76
+ "useTabs" : false
85
77
},
86
78
"remarkConfig" : {
87
79
"plugins" : [
88
- " preset-wooorm"
80
+ " remark- preset-wooorm"
89
81
]
90
82
},
91
83
"typeCoverage" : {
92
84
"atLeast" : 100 ,
93
85
"detail" : true ,
94
- "strict" : true ,
95
- "ignoreCatch" : true ,
96
86
"ignoreFiles" : [
97
87
" lib/types.d.ts"
98
- ]
88
+ ],
89
+ "ignoreCatch" : true ,
90
+ "strict" : true
91
+ },
92
+ "xo" : {
93
+ "prettier" : true ,
94
+ "rules" : {
95
+ "complexity" : " off" ,
96
+ "unicorn/prefer-code-point" : " off" ,
97
+ "unicorn/prefer-switch" : " off"
98
+ }
99
99
}
100
100
}
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