File tree 1 file changed +20
-22
lines changed
1 file changed +20
-22
lines changed Original file line number Diff line number Diff line change 136
136
"xo" : " ^0.56.0"
137
137
},
138
138
"scripts" : {
139
- "prepack" : " npm run build && npm run format" ,
140
- "build-packages" : " node script/build-presets && node script/build-rules" ,
141
- "build-monorepo" : " tsc --build --clean && tsc --build && type-coverage" ,
142
- "build" : " npm run build-packages && npm run build-monorepo" ,
143
- "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
139
+ "generate" : " node --conditions development script/build-presets.js && node --conditions development script/build-rules.js" ,
140
+ "build" : " tsc --build --clean && tsc --build && type-coverage" ,
141
+ "format" : " remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix" ,
142
+ "test" : " npm run build && npm run generate && npm run format && npm run test-coverage" ,
144
143
"test-api" : " node --conditions development test.js" ,
145
- "test-coverage" : " c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api" ,
146
- "test" : " npm run build && npm run format && npm run test-coverage"
144
+ "test-coverage" : " c8 --100 --check-coverage --reporter lcov npm run test-api"
147
145
},
148
146
"prettier" : {
149
- "tabWidth" : 2 ,
150
- "useTabs" : false ,
151
- "singleQuote" : true ,
152
147
"bracketSpacing" : false ,
148
+ "singleQuote" : true ,
153
149
"semi" : false ,
154
- "trailingComma" : " none"
150
+ "tabWidth" : 2 ,
151
+ "trailingComma" : " none" ,
152
+ "useTabs" : false
153
+ },
154
+ "typeCoverage" : {
155
+ "atLeast" : 100 ,
156
+ "detail" : true ,
157
+ "ignoreCatch" : true ,
158
+ "strict" : true
155
159
},
156
160
"xo" : {
157
- "prettier" : true ,
158
- "rules" : {
159
- "unicorn/prefer-string-replace-all" : " off"
160
- },
161
161
"overrides" : [
162
162
{
163
163
"files" : [
169
169
"no-await-in-loop" : " off"
170
170
}
171
171
}
172
- ]
173
- },
174
- "typeCoverage" : {
175
- "atLeast" : 100 ,
176
- "detail" : true ,
177
- "strict" : true ,
178
- "ignoreCatch" : true
172
+ ],
173
+ "prettier" : true ,
174
+ "rules" : {
175
+ "unicorn/prefer-string-replace-all" : " off"
176
+ }
179
177
}
180
178
}
You can’t perform that action at this time.
0 commit comments