faastjs

v6.0.20
Serverless batch computing made simple.
faast.js faastjs serverless aws lambda cloud functions batch

build

npm run clean && npx tsc && npm run doc

watch

npm run clean && npx tsc --watch

doc

node build/make-docs.js

set-gcp-key

node build/google-save-key.js

test

ava -v --concurrency=8 --timeout=4m

test-local

ava -v --concurrency=8 --timeout=2m -m='!remote*'

test-aws

ava -v --concurrency=4 --timeout=4m -m='!remote*' -m='*aws*'

test-google

ava -v --concurrency=4 --timeout=4m -m='!remote*' -m='*google*'

test-aws-remote

ava -v --concurrency=4 --timeout=4m -m='remote*aws*'

test-google-remote

ava -v --concurrency=4 --timeout=4m -m='remote*google*'

test-debug

DEBUG=faast:provider,faast:info ava --timeout=4m -v --fail-fast --serial

test-release

rm -rf test-release && mkdir test-release && cp examples/*.ts test-release && cp examples/*.json test-release && npm pack && cp faastjs-$npm_package_version.tgz test-release && cd test-release && npm install faastjs-$npm_package_version.tgz && npm run build && node dist/hello-world.js

test-git-status

git status --porcelain && test -z "$(git status --porcelain)"

cleanup-cloud

node dist/src/cli.js cleanup aws -x -f && node ./dist/src/cli.js cleanup google -x -f

clean

rm -rf dist

tslint

npx tslint -p tsconfig.json

codecov

codecov

semantic-release

semantic-release

commit

npx git-cz

Metadata

Downloads

Maintainers