File tree Expand file tree Collapse file tree 2 files changed +23
-25
lines changed Expand file tree Collapse file tree 2 files changed +23
-25
lines changed Original file line number Diff line number Diff line change 54
54
"hast-util-to-html" : " ^8.0.0" ,
55
55
"mdast-util-to-hast" : " ^12.0.0" ,
56
56
"micromark-extension-gfm" : " ^3.0.0" ,
57
- "node-fetch" : " ^3.0.0" ,
58
57
"prettier" : " ^2.0.0" ,
59
58
"remark-cli" : " ^11.0.0" ,
60
59
"remark-preset-wooorm" : " ^9.0.0" ,
61
60
"type-coverage" : " ^2.0.0" ,
62
61
"typescript" : " ^5.0.0" ,
62
+ "undici" : " ^5.0.0" ,
63
63
"xo" : " ^0.54.0"
64
64
},
65
65
"scripts" : {
68
68
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
69
69
"format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
70
70
"test-api" : " node --conditions development test/index.js" ,
71
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
71
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
72
72
"test" : " npm run build && npm run format && npm run test-coverage"
73
73
},
74
74
"prettier" : {
75
- "tabWidth" : 2 ,
76
- "useTabs" : false ,
77
- "singleQuote" : true ,
78
75
"bracketSpacing" : false ,
79
76
"semi" : false ,
80
- "trailingComma" : " none"
81
- },
82
- "xo" : {
83
- "prettier" : true ,
84
- "overrides" : [
85
- {
86
- "files" : " test/**/*.js" ,
87
- "rules" : {
88
- "no-await-in-loop" : " off"
89
- }
90
- }
91
- ]
77
+ "singleQuote" : true ,
78
+ "tabWidth" : 2 ,
79
+ "trailingComma" : " none" ,
80
+ "useTabs" : false
92
81
},
93
82
"remarkConfig" : {
94
83
"plugins" : [
98
87
"typeCoverage" : {
99
88
"atLeast" : 100 ,
100
89
"detail" : true ,
101
- "strict" : true ,
102
- "ignoreCatch" : true
90
+ "ignoreCatch" : true ,
91
+ "strict" : true
92
+ },
93
+ "xo" : {
94
+ "overrides" : [
95
+ {
96
+ "files" : " test/**/*.js" ,
97
+ "rules" : {
98
+ "no-await-in-loop" : " off"
99
+ }
100
+ }
101
+ ],
102
+ "prettier" : true
103
103
}
104
104
}
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