Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.51 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.51 KB

typescript-lambda

CI Workflow Coverage Vulnerabilities Quality Gate Status

This is a template repository for creating typescript lambda projects.

After cloning this template, the following steps need to be carried out:

  1. Add the project to sonarcloud.
  2. The following files need to be modified to suit your project.
  3. Update the sonarcloud badges

package.json

  • name
  • version
  • repository
  • description
  • license

sonar-project.properties

  • sonar.projectKey
  • sonar.links.homepage
  • sonar.links.ci
  • sonar.links.scm
  • sonar.links.issue

Build

To build the lambda function run the following.

npm install
npm run build

Test

To run the tests.

npm test

Package

The following will package the lambda function into a zip bundle to allow manual deployment.

zip -q -r dist/lambda.zip node_modules dist