Example for JavaScript/Node.js
lets.yaml
shell: bash
commands:
run:
description: Run node server
cmd: npm run server
webpack:
description: Run webpack
cmd:
- npm
- run
- webpack
tests:
cmd:
- npm
- run
- test
Examples of usage:
lets run
- run serverlets webpack -w
- cmd is an array so all arguments will be appended to that arraylets test
- run all testslets test src/server/__tests__
- run only tests in particular directory