Runs Puppeteer on AWS Lambda with Serverless
make help
- show a help messagemake install
- install dependencies, blows up node_modulesmake lint
- runs eslintmake lint-fix
- attempts to autofix linting errorsmake test
- runs the full test suite with Jestmake test-watch
- re-runs tests on file changes - VERY usefulmake test-snapshots
- updates Jest snapshotsmake test-coverage
- creates a coverage report and opens it in your browsermake package
- packages the Lambda functions for debugging purposesFUNCTION=function-name make run-local
- runs a function locally for testing
-
Install dependencies
nvm
- Optional Install
serverless
globally - Optional Install
watchman
for usingmake test-watch
-
Run
make install