This project creates a bundle of the components.

npm install @process-engine/bpmn-js-custom-bundle@2.11.0

Documentation custom bundle

This project creates a bundle of the components, at the end of the bundling process there is one javascript file and one css file ready to use.

What are the goals of this project?

Motivation: We created this project to solve a bundling issue, when using aurelia and there are some dependencies that cannot be resolved. For example some parts of require the NodeJS fs module.

To get around this issue we tried using the bower-bpmn-js module via bower in our aurelia application. This worked but we also needed the bpmn-js-properties-panel module, but there was no bower version for that (See bpmn-io/bpmn-js-properties-panel#197).

This projects aims to solve the problem by bundling bower-bpmn-js and bpmn-js-properties into a single file.

Relevant URLs

How do I set this project up?


  • Node >= 0.6.0
  • Grunt


$ npm install


$ npm run build

This creates all bundled files in the dist folder.

How do I use this project?


$ npm install --save @process-engine/bpmn-js-custom-bundle

This will install the project in node_modules, we need to tell aurelia how to load this bundle into the application:

  "name": "@process-engine/bpmn-js-custom-bundle",
  "path": "../node_modules/@process-engine/bpmn-js-custom-bundle/dist",
  "main": "bpmn-modeler-custom.js",
  "resources": [

Inside your templates you can now use:

  <require from="@process-engine/bpmn-js-custom-bundle/bpmn-modeler-custom.css"></require>  

And inside your javascript files:

import * as BPMNModeler from '@process-engine/bpmn-js-custom-bundle';


$ npm run build
$ # bump version in package.json
$ npm publish

Authors/Contact information?