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 deployandsls deploy function - Supports
sls invoke local+--watchmode - 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 myServiceNamewhere 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.