Skip to content

Commit be1b2e2

Browse files
committed
Adds es2015, stage-2 support.
1 parent 602fe22 commit be1b2e2

File tree

3 files changed

+190
-184
lines changed

3 files changed

+190
-184
lines changed

.babelrc

-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
}
88
],
99
"stage-2"
10-
],
11-
"plugins": [
12-
"external-helpers"
1310
]
1411
}

package.json

+25-21
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,31 @@
1313
"vue-router": "^2.4.0"
1414
},
1515
"devDependencies": {
16-
"babel-traverse": "6.24.1",
17-
"babel-types": "6.24.1",
18-
"babylon": "6.16.1",
19-
"copy-webpack-plugin": "~4.0.1",
20-
"css-loader": "^0.28.4",
21-
"extract-text-webpack-plugin": "~2.1.0",
22-
"lazy": "1.0.11",
23-
"merge-files-webpack-plugin": "^1.1.2",
24-
"nativescript-css-loader": "~0.26.0",
25-
"nativescript-dev-android-snapshot": "^0.*.*",
26-
"nativescript-dev-webpack": "^0.6.3",
27-
"node-sass": "^4.5.3",
28-
"raw-loader": "~0.5.1",
29-
"resolve-url-loader": "~2.0.2",
30-
"sass-loader": "^6.0.6",
31-
"style-loader": "^0.18.2",
32-
"vue-loader": "^12.2.1",
33-
"vue-style-loader": "^3.0.1",
34-
"vue-template-compiler": "2.5.2",
35-
"webpack": "~2.6.1",
36-
"webpack-sources": "~1.0.1"
16+
"babel-core": "^6.26.0",
17+
"babel-loader": "^7.1.2",
18+
"babel-preset-es2015": "^6.24.1",
19+
"babel-preset-stage-2": "^6.24.1",
20+
"babel-traverse": "6.24.1",
21+
"babel-types": "6.24.1",
22+
"babylon": "6.16.1",
23+
"copy-webpack-plugin": "~4.0.1",
24+
"css-loader": "^0.28.4",
25+
"extract-text-webpack-plugin": "~2.1.0",
26+
"lazy": "1.0.11",
27+
"merge-files-webpack-plugin": "^1.1.2",
28+
"nativescript-css-loader": "~0.26.0",
29+
"nativescript-dev-android-snapshot": "^0.*.*",
30+
"nativescript-dev-webpack": "^0.6.3",
31+
"node-sass": "^4.5.3",
32+
"raw-loader": "~0.5.1",
33+
"resolve-url-loader": "~2.0.2",
34+
"sass-loader": "^6.0.6",
35+
"style-loader": "^0.18.2",
36+
"vue-loader": "^12.2.1",
37+
"vue-style-loader": "^3.0.1",
38+
"vue-template-compiler": "2.5.2",
39+
"webpack": "~2.6.1",
40+
"webpack-sources": "~1.0.1"
3741
},
3842
"scripts": {
3943
"ns-bundle": "ns-bundle",

0 commit comments

Comments
 (0)