Skip to content

Commit e64ab2e

Browse files
committed
Merge
1 parent f1e3240 commit e64ab2e

File tree

4 files changed

+155
-4
lines changed

4 files changed

+155
-4
lines changed

.babelrc

+29-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
{
2-
"presets": ["env", "stage-3"],
3-
"plugins": ["transform-runtime"],
2+
"presets": [
3+
["env", {
4+
"loose": false,
5+
"modules": "commonjs",
6+
"spec": true,
7+
"targets": {
8+
"browsers": [
9+
"last 3 Chrome versions",
10+
"last 3 Firefox versions",
11+
"Safari >= 10",
12+
"Explorer >= 11",
13+
"Edge >= 12",
14+
"iOS >= 10",
15+
"Android >= 6"
16+
]
17+
},
18+
"useBuiltIns": "usage",
19+
"debug": false
20+
}],
21+
"stage-3"
22+
],
23+
"plugins": [
24+
"dynamic-import-node",
25+
"transform-class-properties",
26+
"transform-es5-property-mutators",
27+
"transform-object-rest-spread",
28+
"transform-runtime",
29+
"transform-vue-jsx"
30+
],
431
"comments": false
532
}

package-lock.json

+64
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,15 @@
5555
"autoprefixer-loader": "^2.0.0",
5656
"babel-cli": "^6.26.0",
5757
"babel-core": "^6.26.0",
58+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
5859
"babel-loader": "^6.4.1",
60+
"babel-plugin-dynamic-import-node": "^1.2.0",
61+
"babel-plugin-syntax-jsx": "^6.18.0",
62+
"babel-plugin-transform-class-properties": "^6.24.1",
63+
"babel-plugin-transform-es5-property-mutators": "^6.24.1",
64+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
5965
"babel-plugin-transform-runtime": "^6.12.0",
66+
"babel-plugin-transform-vue-jsx": "^3.5.0",
6067
"babel-preset-env": "^1.6.1",
6168
"babel-preset-stage-3": "^6.24.1",
6269
"babel-runtime": "^6.26.0",
@@ -106,5 +113,14 @@
106113
"engines": {
107114
"node": ">= 6.0.0",
108115
"npm": ">= 3.0.0"
109-
}
116+
},
117+
"browserslist": [
118+
"last 3 Chrome versions",
119+
"last 3 Firefox versions",
120+
"Safari >= 10",
121+
"Explorer >= 11",
122+
"Edge >= 12",
123+
"iOS >= 10",
124+
"Android >= 6"
125+
]
110126
}

yarn.lock

+45-1
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,10 @@ babel-helper-replace-supers@^6.24.1:
563563
babel-traverse "^6.24.1"
564564
babel-types "^6.24.1"
565565

566+
babel-helper-vue-jsx-merge-props@^2.0.3:
567+
version "2.0.3"
568+
resolved "https://registry.yarnpkg.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6"
569+
566570
babel-helpers@^6.24.1:
567571
version "6.24.1"
568572
resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2"
@@ -591,6 +595,12 @@ babel-plugin-check-es2015-constants@^6.22.0:
591595
dependencies:
592596
babel-runtime "^6.22.0"
593597

598+
babel-plugin-dynamic-import-node@^1.2.0:
599+
version "1.2.0"
600+
resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-1.2.0.tgz#f91631e703e0595e47d4beafbb088576c87fbeee"
601+
dependencies:
602+
babel-plugin-syntax-dynamic-import "^6.18.0"
603+
594604
babel-plugin-syntax-async-functions@^6.8.0:
595605
version "6.13.0"
596606
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
@@ -599,10 +609,22 @@ babel-plugin-syntax-async-generators@^6.5.0:
599609
version "6.13.0"
600610
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a"
601611

612+
babel-plugin-syntax-class-properties@^6.8.0:
613+
version "6.13.0"
614+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
615+
616+
babel-plugin-syntax-dynamic-import@^6.18.0:
617+
version "6.18.0"
618+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
619+
602620
babel-plugin-syntax-exponentiation-operator@^6.8.0:
603621
version "6.13.0"
604622
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de"
605623

624+
babel-plugin-syntax-jsx@^6.18.0:
625+
version "6.18.0"
626+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
627+
606628
babel-plugin-syntax-object-rest-spread@^6.8.0:
607629
version "6.13.0"
608630
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
@@ -627,6 +649,15 @@ babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async-
627649
babel-plugin-syntax-async-functions "^6.8.0"
628650
babel-runtime "^6.22.0"
629651

652+
babel-plugin-transform-class-properties@^6.24.1:
653+
version "6.24.1"
654+
resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac"
655+
dependencies:
656+
babel-helper-function-name "^6.24.1"
657+
babel-plugin-syntax-class-properties "^6.8.0"
658+
babel-runtime "^6.22.0"
659+
babel-template "^6.24.1"
660+
630661
babel-plugin-transform-es2015-arrow-functions@^6.22.0:
631662
version "6.22.0"
632663
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
@@ -795,6 +826,13 @@ babel-plugin-transform-es2015-unicode-regex@^6.22.0:
795826
babel-runtime "^6.22.0"
796827
regexpu-core "^2.0.0"
797828

829+
babel-plugin-transform-es5-property-mutators@^6.24.1:
830+
version "6.24.1"
831+
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es5-property-mutators/-/babel-plugin-transform-es5-property-mutators-6.24.1.tgz#0b9a24f4e2ff18c33603d24a0d438dc9793b0a13"
832+
dependencies:
833+
babel-helper-define-map "^6.24.1"
834+
babel-runtime "^6.22.0"
835+
798836
babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-exponentiation-operator@^6.24.1:
799837
version "6.24.1"
800838
resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
@@ -803,7 +841,7 @@ babel-plugin-transform-exponentiation-operator@^6.22.0, babel-plugin-transform-e
803841
babel-plugin-syntax-exponentiation-operator "^6.8.0"
804842
babel-runtime "^6.22.0"
805843

806-
babel-plugin-transform-object-rest-spread@^6.22.0:
844+
babel-plugin-transform-object-rest-spread@^6.22.0, babel-plugin-transform-object-rest-spread@^6.26.0:
807845
version "6.26.0"
808846
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06"
809847
dependencies:
@@ -829,6 +867,12 @@ babel-plugin-transform-strict-mode@^6.24.1:
829867
babel-runtime "^6.22.0"
830868
babel-types "^6.24.1"
831869

870+
babel-plugin-transform-vue-jsx@^3.5.0:
871+
version "3.5.0"
872+
resolved "https://registry.yarnpkg.com/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-3.5.0.tgz#6b1ad29351ad753919403675f0bf8b2a43e17671"
873+
dependencies:
874+
esutils "^2.0.2"
875+
832876
babel-polyfill@^6.26.0:
833877
version "6.26.0"
834878
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"

0 commit comments

Comments
 (0)