The Planner delegates task running to gulp
and allows parametric subtasks in the format of npm run <task> -- --subtask
.
The scripts
section of the package.json file lists the main tasks i.e. build
, clean
, and test
.
The following table lists the available npm scripts managed with gulp
tasks:
Task | Subtask | Command | Description |
---|---|---|---|
Build |
[default] app |
|
Builds the planner library |
image |
|
Creates container image for the app |
|
release |
|
Publishes the library to |
|
tarball |
|
Packs the library into a tarball |
|
validate |
|
Dry runs the build for validation |
|
watch |
|
Rebuilds planner library on file changes |
|
Clean |
[default] all |
|
Fully resets the project |
cache |
|
Clears |
|
config |
|
Resets app config & env_vars |
|
dist |
|
Removes the build artifacts |
|
images |
|
Stops containers & removes the images |
|
modules |
|
Removes all |
|
temp |
|
Removes temp files and artifacts |
|
Tests |
unit |
|
Runs the unit tests |
To further understand the routines triggered by the subtask parameters refer to the gulpfile.