An empty project scaffold for Amazon Lambda development in TypeScript.
The npm scripts are based on gulp
so should be working on Linux, OS X and Windows.
Compile *.ts into *.js.
./specs/*.ts
will be ignored because the tests can be run by TypeScript directly.
Clean up the compiled *.js.
Run ./specs/*.ts
with mocha.
Compile the project and pack a zip file that can be uploaded to Amazon Lambda Function. The zip file will be generated under ./dist
folder with file name ${package.name}-${package.version}.zip
, for example aws-lambda-ts-scaffold-1.0.0.zip
. Changing the name and the version in package.json will be reflected automatically.