Skip to content

kbullett/sam-scaffold

Repository files navigation

sam-scaffold TypeScript

Included are two example lambda functions: helloWorld which does all the incredible things you expect from that name, and robots which implements a simple CRUD REST API using Cassava.

Linting

Linting is running a program that checks the source code for potential style and logical problems. The linter is set up to be run with: npm run lint.

Linting is provided by ESLint with a TypeScript plugin. Check out the documentation for adjusting the rules to suit your preferred style.

Unit testing

Unit testing is provided by Mocha and Chai and is run with: npm run test.

Test files are located next to the file being tested with the extension .test.ts. eg: index.ts is beside test file index.test.ts. Just like libraries not referenced by index.ts WebPack will not include these files in the distribution.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •