Skip to content

Commit

Permalink
🤖 config(babel): Setup environments.
Browse files Browse the repository at this point in the history
These changes were automatically generated by a transform whose code can be found at:
  - https://github.com/aureooms/rejuvenate/blob/a5a57b70ac6fd6fb77fdab32e6b7be7519ce9564/src/transforms/babel:setup-env.js
Please contact the author of the transform if you believe there was an error.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Mar 17, 2021
1 parent 526d713 commit 8c5e672
Show file tree
Hide file tree
Showing 2 changed files with 423 additions and 18 deletions.
85 changes: 79 additions & 6 deletions package.json
Expand Up @@ -57,6 +57,9 @@
"@commitlint/cli": "12.0.1",
"@js-library/commitlint-config": "0.0.3",
"ava": "3.15.0",
"babel-plugin-transform-remove-console": "6.9.4",
"babel-plugin-unassert": "3.0.1",
"babel-preset-power-assert": "3.0.0",
"c8": "7.6.0",
"coveralls": "3.1.0",
"esdoc": "1.1.0",
Expand All @@ -66,7 +69,8 @@
"fixpack": "4.0.0",
"husky": "5.1.3",
"np": "7.4.0",
"pinst": "2.1.6"
"pinst": "2.1.6",
"power-assert": "1.6.1"
},
"ava": {
"files": [
Expand All @@ -80,16 +84,85 @@
"concurrency": 8
},
"babel": {
"sourceMaps": true,
"presets": [
"@babel/preset-env"
[
"@babel/preset-env",
{
"targets": [
"defaults",
"maintained node versions"
]
}
]
],
"env": {
"debug": {
"presets": [
[
"@babel/preset-env",
{
"targets": "current node"
}
],
"babel-preset-power-assert"
]
},
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": "current node"
}
],
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
},
"development": {
"sourceMaps": "inline"
"presets": [
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
},
"debug": {},
"production": {},
"test": {}
"production": {
"plugins": [
"babel-plugin-unassert",
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
}
}
}
}

0 comments on commit 8c5e672

Please sign in to comment.