Tools for services development
-env
- Path string to pecifiy the location of ".env" file, default is invoke pwd
- Default "./.env"
-task-dir
- Path string to specify location of
task-*.mjs
files to load and invoke - Default: "./tasks"
- Path string to specify location of
-omit-lib
true
|false
- Omit loading tasks included in distribution- Default:
true
npm run task -- \
aws-assume \
-profile=<aws_role> \
npm run task -- \
aws-appsync-simulator \
-config="./example/adapter/aws/appsync/simulator/config.json"
npm run task -- \
aws-lambda \
-event="./example/adapter/aws/lambda/lambda-event.json" \
-handler="./example/adapter/aws/lambda/lambda-handler.mjs,handler,true"
Tasks can be chained
npm run task -- \
aws-assume \
-profile=<aws_role> \
aws-appsync-simulator \
-config="./example/adapter/aws/appsync/simulator/config.json"
- Narrow Node.js version
- Rename "task" to "act"?
build:bundle
is an experiment
> "service".split("").reverse().slice(0, 3).join("")
'eci'