This a template repository for spinning up a new project using ncc. It uses eslint with the standard profile, jest, and sonarcloud.
You can use npm run build
to compile the typescript down to one js file (dist/index.js), this file can be uploaded for use in serverless functions or other environments by directly calling with Node.JS using node path/to/index.js
You can run the tests with npm test
.
You can check if the code meets formatting standards with npm run lint
if there are any violations you may be able to fix them automatically with npm run lint:fix
.