Warning
This is an experimental library and not officially supported / endorsed by bpmn.io.
Apply element templates on BPMN elements in your terminal.
npm install --global element-templates-clielement-templates-cli --diagram diagram.bpmn --template template.json --element ServiceTask --output diagram_2.bpmnPrepare the project by installing all dependencies:
npm installThen, depending on your use-case, you may run any of the following commands:
# run linter, build, and test the library
npm run all
# lint
npm run lint
# build
npm run build
# test
npm testMIT