Skip to content

Commit 49fb23f

Browse files
committed
Updating to babel-env
1 parent 4cc022d commit 49fb23f

3 files changed

Lines changed: 48 additions & 11 deletions

File tree

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"plugins": ["source-map-support", "transform-runtime"],
3-
"presets": ["es2015", "stage-3"]
3+
"presets": ["env", "stage-3"]
44
}

package-lock.json

Lines changed: 43 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "serverless-es7-starter",
2+
"name": "serverless-nodejs-starter",
33
"version": "1.1.0",
4-
"description": "A starter project for the Serverless Framework with ES7 support",
4+
"description": "A Node.js starter for the Serverless Framework with async/await and unit test support",
55
"main": "handler.js",
66
"scripts": {
77
"test": "jest"
@@ -10,14 +10,14 @@
1010
"license": "MIT",
1111
"repository": {
1212
"type": "git",
13-
"url": "https://github.com/AnomalyInnovations/serverless-es7.git"
13+
"url": "https://github.com/AnomalyInnovations/serverless-nodejs-starter.git"
1414
},
1515
"devDependencies": {
1616
"babel-core": "^6.26.0",
1717
"babel-loader": "^7.1.2",
1818
"babel-plugin-source-map-support": "^1.0.0",
1919
"babel-plugin-transform-runtime": "^6.23.0",
20-
"babel-preset-es2015": "^6.24.1",
20+
"babel-preset-env": "^1.6.1",
2121
"babel-preset-stage-3": "^6.24.1",
2222
"serverless-webpack": "^4.2.0",
2323
"webpack": "^3.10.0",

0 commit comments

Comments
 (0)