Skip to content

Instantly share code, notes, and snippets.

@mitchgollub
Created February 1, 2020 22:23
Show Gist options
  • Save mitchgollub/987b94a12a0642fbbd296b78dd38d43b to your computer and use it in GitHub Desktop.
Save mitchgollub/987b94a12a0642fbbd296b78dd38d43b to your computer and use it in GitHub Desktop.
Package.json for AWS Lambda Node
{
"name": "hello_world",
"version": "1.0.0",
"description": "hello world sample for NodeJS",
"main": "app.js",
"repository": "https://github.com/awslabs/aws-sam-cli/tree/develop/samcli/local/init/templates/cookiecutter-aws-sam-hello-nodejs",
"author": "SAM CLI",
"license": "MIT",
"scripts": {
"debug": "sam local invoke --template ../template.yaml --event ../events/event.json -d 9229",
"start": "sam local invoke --template ../template.yaml --event ../events/event.json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment