Skip to content

Commit 2bac2c0

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedApr 6, 2021
🤖 config(babel): Setup cover environment.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/c0306a0431f42510000cc745a99bc61ad7710a7a/src/transforms/babel:setup-env-cover.js Please contact the author of the transform if you believe there was an error.
1 parent 40c846d commit 2bac2c0

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed
 

‎package.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,30 @@
176176
]
177177
]
178178
},
179-
"cover": {}
179+
"cover": {
180+
"sourceMaps": "both",
181+
"presets": [
182+
[
183+
"@babel/preset-env",
184+
{
185+
"targets": "current node"
186+
}
187+
],
188+
"babel-preset-power-assert"
189+
],
190+
"plugins": [
191+
[
192+
"transform-remove-console",
193+
{
194+
"exclude": [
195+
"log",
196+
"error",
197+
"warn"
198+
]
199+
}
200+
]
201+
]
202+
}
180203
}
181204
},
182205
"lint-staged": {

0 commit comments

Comments
 (0)
Please sign in to comment.