File tree 2 files changed +22
-23
lines changed
2 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 86
86
"generate" : " node script/generate-jsx.js && node script/build.js" ,
87
87
"format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
88
88
"test-api" : " node --conditions development test/index.js" ,
89
- "test-coverage" : " c8 --check-coverage -- 100 --reporter lcov npm run test-api" ,
90
- "test" : " npm run build && npm run generate && npm run format && npm run test-coverage"
89
+ "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
90
+ "test" : " npm run build && npm run format && npm run test-coverage"
91
91
},
92
92
"prettier" : {
93
- "tabWidth" : 2 ,
94
- "useTabs" : false ,
95
- "singleQuote" : true ,
96
93
"bracketSpacing" : false ,
97
94
"semi" : false ,
98
- "trailingComma " : " none "
99
- } ,
100
- "xo " : {
101
- "prettier " : true
95
+ "singleQuote " : true ,
96
+ "tabWidth" : 2 ,
97
+ "trailingComma " : " none " ,
98
+ "useTabs " : false
102
99
},
103
100
"remarkConfig" : {
104
101
"plugins" : [
105
- " preset-wooorm"
102
+ " remark- preset-wooorm"
106
103
]
107
104
},
108
105
"typeCoverage" : {
109
106
"atLeast" : 100 ,
110
107
"detail" : true ,
108
+ "ignoreCatch" : true ,
111
109
"strict" : true
110
+ },
111
+ "xo" : {
112
+ "prettier" : true
112
113
}
113
114
}
Original file line number Diff line number Diff line change 1
1
{
2
- "include" : [" **/**.js" , " **/**.jsx" ],
3
- "exclude" : [
4
- " coverage/" ,
5
- " node_modules/" ,
6
- " lib/jsx-automatic.js" ,
7
- " lib/jsx-classic.js"
8
- ],
9
2
"compilerOptions" : {
10
3
"checkJs" : true ,
4
+ "customConditions" : [" development" ],
11
5
"declaration" : true ,
12
6
"emitDeclarationOnly" : true ,
13
7
"exactOptionalPropertyTypes" : true ,
14
- "forceConsistentCasingInFileNames " : true ,
8
+ "jsx " : " preserve " ,
15
9
"lib" : [" es2020" ],
16
10
"module" : " node16" ,
17
- "newLine" : " lf" ,
18
- "skipLibCheck" : true ,
19
11
"strict" : true ,
20
- "target" : " es2020" ,
21
- "jsx" : " preserve"
22
- }
12
+ "target" : " es2020"
13
+ },
14
+ "exclude" : [" coverage/" , " node_modules/" ],
15
+ "include" : [
16
+ " **/**.js" ,
17
+ " **/**.jsx" ,
18
+ " lib/jsx-automatic.d.ts" ,
19
+ " lib/jsx-classic.d.ts"
20
+ ]
23
21
}
You can’t perform that action at this time.
0 commit comments