Skip to content

Commit ec93f36

Browse files
committed
chore: ensure presence of regenerator
1 parent b950f0d commit ec93f36

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

package.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@
2929
"ava": {
3030
"babel": "inherit",
3131
"require": [
32-
"babel-register"
32+
"babel-register",
33+
"babel-polyfill"
3334
]
3435
},
3536
"babel": {
3637
"presets": [
3738
[
38-
"env", {
39+
"env",
40+
{
3941
"targets": {
4042
"node": 4
4143
}
@@ -44,7 +46,14 @@
4446
"stage-0"
4547
],
4648
"plugins": [
47-
"add-module-exports"
49+
"add-module-exports",
50+
[
51+
"transform-runtime",
52+
{
53+
"polyfill": false,
54+
"regenerator": true
55+
}
56+
]
4857
]
4958
},
5059
"config": {
@@ -80,6 +89,8 @@
8089
"ava": "0.18.2",
8190
"babel-cli": "6.18.0",
8291
"babel-plugin-add-module-exports": "0.2.1",
92+
"babel-plugin-transform-runtime": "6.23.0",
93+
"babel-polyfill": "6.20.0",
8394
"babel-preset-env": "1.2.1",
8495
"babel-preset-stage-0": "6.16.0",
8596
"conventional-changelog-cli": "1.2.0",
@@ -99,6 +110,7 @@
99110
"babel-polyfill": "6.20.0",
100111
"babel-preset-es2015-node4": "2.1.0",
101112
"babel-preset-stage-0": "6.16.0",
113+
"babel-runtime": "6.23.0",
102114
"chalk": "1.1.3",
103115
"conventional-changelog-angular": "1.3.0",
104116
"conventional-changelog-lint-config-angular": "0.4.0",

0 commit comments

Comments
 (0)