Serverless Framework template for zero-config TypeScript support.
Thanks to serverless-typescript
plugin:
- Zero-config: Works out of the box without the need to install any other compiler or plugins
- Supports ES2015 syntax + features (
export
,import
,async
,await
,Promise
, ...) - Supports
sls package
,sls deploy
andsls deploy function
- Supports
sls invoke local
+--watch
mode - Integrates nicely with
serverless-offline
To create new serverless AWS TypeScript project using this template run:
serverless create \
--template-url https://github.com/ttarnowski/serverless-aws-nodejs-typescript/tree/main \
--path myServiceName
where myServiceName
should be replaced with the name of your choice.
Then change directory to the newly created one:
cd myServiceName
And run:
npm install
or:
yarn install
MIT.