Skip to content

Commit

Permalink
Updating to use Node 8.10 (#31)
Browse files Browse the repository at this point in the history
* Upgrading to Node 8

* Testing

* Disabling webpack

* Enabling webpack

* Updating README
  • Loading branch information
jayair committed Apr 10, 2018
1 parent ed606d2 commit d771e9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"plugins": ["source-map-support", "transform-runtime"],
"presets": [
["env", { "node": "6.10" }],
["env", { "node": "8.10" }],
"stage-3"
]
}
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Serverless Node.js Starter

A Serverless starter that adds ES7 async/await, serverless-offline, environment variables, and unit test support. Part of the [Serverless Stack](http://serverless-stack.com) guide.
A Serverless starter that adds ES7 syntax, serverless-offline, environment variables, and unit test support. Part of the [Serverless Stack](http://serverless-stack.com) guide.

[Serverless Node.js Starter](https://github.com/AnomalyInnovations/serverless-nodejs-starter) uses the [serverless-webpack](https://github.com/serverless-heaven/serverless-webpack) plugin, [Babel](https://babeljs.io), and [Jest](https://facebook.github.io/jest/). It supports:
[Serverless Node.js Starter](https://github.com/AnomalyInnovations/serverless-nodejs-starter) uses the [serverless-webpack](https://github.com/serverless-heaven/serverless-webpack) plugin, [Babel](https://babeljs.io), [serverless-offline](https://github.com/dherault/serverless-offline), and [Jest](https://facebook.github.io/jest/). It supports:

- **ES7 syntax in your handler functions**
- Use async/await
- And much more!
- Use `import` and `export`
- **Run API Gateway locally**
- Use `serverless offline start`
- **Support for unit tests**
Expand All @@ -18,8 +17,6 @@ A Serverless starter that adds ES7 async/await, serverless-offline, environment
- No need to add a new entry to your `webpack.config.js`
- **Add environment variables for your stages**

If you'd like to learn how to setup your existing Serverless project to support ES7 async/await, use this [guide on Serverless-Stack.com](http://serverless-stack.com/chapters/add-support-for-es6-javascript.html).

---

### Demo
Expand Down
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ custom:

provider:
name: aws
runtime: nodejs6.10
runtime: nodejs8.10
stage: dev
region: us-east-1
# To load environment variables externally
Expand Down

0 comments on commit d771e9f

Please sign in to comment.