This is a template repository for creating typescript lambda projects.
After cloning this template, the following steps need to be carried out:
- Add the project to sonarcloud.
- The following files need to be modified to suit your project.
- Update the sonarcloud badges
- name
- version
- repository
- description
- license
- sonar.projectKey
- sonar.links.homepage
- sonar.links.ci
- sonar.links.scm
- sonar.links.issue
To build the lambda function run the following.
npm install
npm run build
To run the tests.
npm test
The following will package the lambda function into a zip bundle to allow manual deployment.
zip -q -r dist/lambda.zip node_modules dist