Skip to content

Commit 7184ece

Browse files
committed
2 parents c17d907 + 4371541 commit 7184ece

File tree

3 files changed

+99
-12
lines changed

3 files changed

+99
-12
lines changed

.babelrc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
"flow", "react"
1717
],
1818
"plugins": [
19-
"syntax-dynamic-import",
20-
"transform-class-properties",
21-
"transform-export-extensions",
2219
"transform-runtime"
2320
]
2421
},
@@ -28,22 +25,16 @@
2825
"flow", "react"
2926
],
3027
"plugins": [
31-
"syntax-dynamic-import",
32-
"transform-class-properties",
33-
"transform-export-extensions",
3428
"transform-runtime",
3529
"istanbul"
3630
]
3731
},
3832
"es5": {
3933
"presets": [
4034
["env", {"forceAllTransforms": true}],
41-
"flow", "react"
35+
"stage-1", "flow", "react"
4236
],
4337
"plugins": [
44-
"syntax-dynamic-import",
45-
"transform-class-properties",
46-
"transform-export-extensions",
4738
"transform-runtime"
4839
]
4940
},

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
"babel-plugin-transform-class-properties": "^6.24.1",
7979
"babel-plugin-transform-export-extensions": "^6.22.0",
8080
"babel-plugin-transform-runtime": "^6.23.0",
81+
"babel-preset-env": "^1.7.0",
82+
"babel-preset-flow": "^6.23.0",
83+
"babel-preset-stage-1": "^6.24.1",
8184
"babel-register": "^6.23.0",
8285
"babel-runtime": "^6.23.0",
8386
"chai": "^4.1.2",

yarn.lock

Lines changed: 95 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,14 @@ babel-generator@^6.18.0, babel-generator@^6.26.0:
615615
source-map "^0.5.6"
616616
trim-right "^1.0.1"
617617

618+
babel-helper-bindify-decorators@^6.24.1:
619+
version "6.24.1"
620+
resolved "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz#14c19e5f142d7b47f19a52431e52b1ccbc40a330"
621+
dependencies:
622+
babel-runtime "^6.22.0"
623+
babel-traverse "^6.24.1"
624+
babel-types "^6.24.1"
625+
618626
babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
619627
version "6.24.1"
620628
resolved "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664"
@@ -657,6 +665,15 @@ babel-helper-explode-assignable-expression@^6.24.1:
657665
babel-traverse "^6.24.1"
658666
babel-types "^6.24.1"
659667

668+
babel-helper-explode-class@^6.24.1:
669+
version "6.24.1"
670+
resolved "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz#7dc2a3910dee007056e1e31d640ced3d54eaa9eb"
671+
dependencies:
672+
babel-helper-bindify-decorators "^6.24.1"
673+
babel-runtime "^6.22.0"
674+
babel-traverse "^6.24.1"
675+
babel-types "^6.24.1"
676+
660677
babel-helper-function-name@^6.24.1:
661678
version "6.24.1"
662679
resolved "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9"
@@ -757,10 +774,22 @@ babel-plugin-syntax-async-functions@^6.8.0:
757774
version "6.13.0"
758775
resolved "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
759776

777+
babel-plugin-syntax-async-generators@^6.5.0:
778+
version "6.13.0"
779+
resolved "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a"
780+
781+
babel-plugin-syntax-class-constructor-call@^6.18.0:
782+
version "6.18.0"
783+
resolved "https://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz#9cb9d39fe43c8600bec8146456ddcbd4e1a76416"
784+
760785
babel-plugin-syntax-class-properties@^6.8.0:
761786
version "6.13.0"
762787
resolved "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
763788

789+
babel-plugin-syntax-decorators@^6.13.0:
790+
version "6.13.0"
791+
resolved "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b"
792+
764793
babel-plugin-syntax-dynamic-import@^6.18.0:
765794
version "6.18.0"
766795
resolved "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
@@ -781,18 +810,38 @@ babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.8.0:
781810
version "6.18.0"
782811
resolved "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
783812

813+
babel-plugin-syntax-object-rest-spread@^6.8.0:
814+
version "6.13.0"
815+
resolved "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
816+
784817
babel-plugin-syntax-trailing-function-commas@^6.22.0:
785818
version "6.22.0"
786819
resolved "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
787820

788-
babel-plugin-transform-async-to-generator@^6.22.0:
821+
babel-plugin-transform-async-generator-functions@^6.24.1:
822+
version "6.24.1"
823+
resolved "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz#f058900145fd3e9907a6ddf28da59f215258a5db"
824+
dependencies:
825+
babel-helper-remap-async-to-generator "^6.24.1"
826+
babel-plugin-syntax-async-generators "^6.5.0"
827+
babel-runtime "^6.22.0"
828+
829+
babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async-to-generator@^6.24.1:
789830
version "6.24.1"
790831
resolved "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761"
791832
dependencies:
792833
babel-helper-remap-async-to-generator "^6.24.1"
793834
babel-plugin-syntax-async-functions "^6.8.0"
794835
babel-runtime "^6.22.0"
795836

837+
babel-plugin-transform-class-constructor-call@^6.24.1:
838+
version "6.24.1"
839+
resolved "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz#80dc285505ac067dcb8d6c65e2f6f11ab7765ef9"
840+
dependencies:
841+
babel-plugin-syntax-class-constructor-call "^6.18.0"
842+
babel-runtime "^6.22.0"
843+
babel-template "^6.24.1"
844+
796845
babel-plugin-transform-class-properties@^6.24.1:
797846
version "6.24.1"
798847
resolved "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac"
@@ -802,6 +851,16 @@ babel-plugin-transform-class-properties@^6.24.1:
802851
babel-runtime "^6.22.0"
803852
babel-template "^6.24.1"
804853

854+
babel-plugin-transform-decorators@^6.24.1:
855+
version "6.24.1"
856+
resolved "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz#788013d8f8c6b5222bdf7b344390dfd77569e24d"
857+
dependencies:
858+
babel-helper-explode-class "^6.24.1"
859+
babel-plugin-syntax-decorators "^6.13.0"
860+
babel-runtime "^6.22.0"
861+
babel-template "^6.24.1"
862+
babel-types "^6.24.1"
863+
805864
babel-plugin-transform-es2015-arrow-functions@^6.22.0:
806865
version "6.22.0"
807866
resolved "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
@@ -970,7 +1029,7 @@ babel-plugin-transform-es2015-unicode-regex@^6.22.0:
9701029
babel-runtime "^6.22.0"
9711030
regexpu-core "^2.0.0"
9721031

973-
babel-plugin-transform-exponentiation-operator@^6.22.0:
1032+
babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.24.1:
9741033
version "6.24.1"
9751034
resolved "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
9761035
dependencies:
@@ -992,6 +1051,13 @@ babel-plugin-transform-flow-strip-types@^6.22.0:
9921051
babel-plugin-syntax-flow "^6.18.0"
9931052
babel-runtime "^6.22.0"
9941053

1054+
babel-plugin-transform-object-rest-spread@^6.22.0:
1055+
version "6.26.0"
1056+
resolved "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06"
1057+
dependencies:
1058+
babel-plugin-syntax-object-rest-spread "^6.8.0"
1059+
babel-runtime "^6.26.0"
1060+
9951061
babel-plugin-transform-react-constant-elements@^6.9.1:
9961062
version "6.23.0"
9971063
resolved "https://registry.npmjs.org/babel-plugin-transform-react-constant-elements/-/babel-plugin-transform-react-constant-elements-6.23.0.tgz#2f119bf4d2cdd45eb9baaae574053c604f6147dd"
@@ -1140,6 +1206,33 @@ babel-preset-react@^6.16.0:
11401206
babel-plugin-transform-react-jsx-source "^6.22.0"
11411207
babel-preset-flow "^6.23.0"
11421208

1209+
babel-preset-stage-1@^6.24.1:
1210+
version "6.24.1"
1211+
resolved "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz#7692cd7dcd6849907e6ae4a0a85589cfb9e2bfb0"
1212+
dependencies:
1213+
babel-plugin-transform-class-constructor-call "^6.24.1"
1214+
babel-plugin-transform-export-extensions "^6.22.0"
1215+
babel-preset-stage-2 "^6.24.1"
1216+
1217+
babel-preset-stage-2@^6.24.1:
1218+
version "6.24.1"
1219+
resolved "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz#d9e2960fb3d71187f0e64eec62bc07767219bdc1"
1220+
dependencies:
1221+
babel-plugin-syntax-dynamic-import "^6.18.0"
1222+
babel-plugin-transform-class-properties "^6.24.1"
1223+
babel-plugin-transform-decorators "^6.24.1"
1224+
babel-preset-stage-3 "^6.24.1"
1225+
1226+
babel-preset-stage-3@^6.24.1:
1227+
version "6.24.1"
1228+
resolved "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz#836ada0a9e7a7fa37cb138fb9326f87934a48395"
1229+
dependencies:
1230+
babel-plugin-syntax-trailing-function-commas "^6.22.0"
1231+
babel-plugin-transform-async-generator-functions "^6.24.1"
1232+
babel-plugin-transform-async-to-generator "^6.24.1"
1233+
babel-plugin-transform-exponentiation-operator "^6.24.1"
1234+
babel-plugin-transform-object-rest-spread "^6.22.0"
1235+
11431236
babel-register@^6.23.0, babel-register@^6.26.0:
11441237
version "6.26.0"
11451238
resolved "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"

0 commit comments

Comments
 (0)