Skip to content

Instantly share code, notes, and snippets.

@cbschuld
Created August 31, 2020 18:17
Show Gist options
  • Save cbschuld/fd3e748f0da19ccd00b7b4686f804613 to your computer and use it in GitHub Desktop.
Save cbschuld/fd3e748f0da19ccd00b7b4686f804613 to your computer and use it in GitHub Desktop.
Create Serverless.com Project in TypeScript

serverless.com project with typescript

Creates a serverless.com project in TypeScript using keyboard input for the project name.

read "?Project Name: " PROJECT && PROJECT_NAME="$( echo -e "$PROJECT" | tr '.' '-' )" && serverless create --template aws-nodejs-typescript --path $PROJECT --name $PROJECT_NAME && cd $PROJECT && npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment