{"_id":"@bptlab/openbpt-modeler-bpmn","name":"@bptlab/openbpt-modeler-bpmn","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bptlab/openbpt-modeler-bpmn","version":"1.0.0","description":"A fork of the bpmn-js repository with extensions for the OpenBPT project.","publishConfig":{"access":"public"},"main":"lib/index.js","scripts":{"all":"run-s lint test generate-types distro test:distro","lint":"eslint .","format":"run-s format:markdown 'lint -- --fix'","format:markdown":"remark . -qo","start":"cross-env SINGLE_START=modeler npm run dev","start:viewer":"cross-env SINGLE_START=viewer npm run dev","start:navigated-viewer":"cross-env SINGLE_START=navigated-viewer npm run dev","dev":"npm test -- --auto-watch --no-single-run","test":"karma start test/config/karma.unit.js","distro":"node tasks/build-distro.mjs","collect-translations":"cross-env COLLECT_TRANSLATIONS=1 npm test","generate-types":"run-s generate-types:*","generate-types:generate":"del-cli \"lib/**/*.d.ts\" && npx bio-dts -r lib","generate-types:test":"tsc --noEmit --noImplicitAny","test:distro":"node tasks/test-distro.mjs","postversion":"run-s distro test:distro","prepare":"run-s distro","prepublishOnly":"run-s generate-types"},"engines":{"node":"*"},"repository":{"type":"git","url":"git+https://github.com/bptlab/openbpt-modeler-bpmn.git"},"keywords":["bpmn","bpmn-js","toolkit","web modeler","modeler","modeling","process modeling"],"author":{"name":"bptlab","url":"https://github.com/bptlab"},"contributors":[{"name":"bpmn.io contributors","url":"https://github.com/bpmn-io"},{"name":"Maximilian König"}],"license":"SEE LICENSE IN LICENSE","sideEffects":["*.css"],"devDependencies":{"@babel/core":"^7.25.8","@bpmn-io/a11y":"^0.1.0","@rollup/plugin-commonjs":"^28.0.3","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-replace":"^6.0.2","@rollup/plugin-terser":"^0.4.4","babel-loader":"^10.0.0","babel-plugin-istanbul":"^7.0.0","bio-dts":"^0.11.0","bpmn-font":"^0.12.1","camunda-bpmn-moddle":"^4.0.1","chai":"4.1.2","chai-match":"^1.1.1","cpy":"^11.0.0","cross-env":"^7.0.3","del":"^8.0.0","del-cli":"^6.0.0","eslint":"^9.24.0","eslint-plugin-bpmn-io":"^2.2.0","execa":"^9.0.0","file-drops":"^0.5.0","karma":"^6.4.4","karma-chrome-launcher":"^3.2.0","karma-coverage":"^2.2.0","karma-debug-launcher":"^0.0.5","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^2.1.3","karma-mocha":"^2.0.1","karma-safari-launcher":"^1.0.0","karma-sinon-chai":"^2.0.2","karma-webpack":"^5.0.1","mocha":"^10.8.2","mocha-test-container-support":"0.2.0","npm-run-all2":"^8.0.0","puppeteer":"~24.5.0","remark-cli":"^12.0.0","remark-preset-bpmn-io":"^0.2.1","rollup":"^4.39.0","rollup-plugin-license":"^3.6.0","sinon":"^17.0.1","sinon-chai":"^3.7.0","ts-expect":"^1.3.0","typescript":"^5.7.3","webpack":"^5.95.0"},"dependencies":{"bpmn-moddle":"^9.0.1","diagram-js":"^15.3.0","diagram-js-direct-editing":"^3.2.0","ids":"^1.0.5","inherits-browser":"^0.1.0","min-dash":"^4.1.1","min-dom":"^4.2.1","tiny-svg":"^3.1.2"},"remarkConfig":{"plugins":["preset-bpmn-io",["lint-no-html",false]]},"_id":"@bptlab/openbpt-modeler-bpmn@1.0.0","gitHead":"8a1ac5c5fdeddb56de52d146a8b8c99cdfeac13a","types":"./lib/index.d.ts","bugs":{"url":"https://github.com/bptlab/openbpt-modeler-bpmn/issues"},"homepage":"https://github.com/bptlab/openbpt-modeler-bpmn#readme","_nodeVersion":"22.14.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-DHowaLMmu/9DuYnOkNVxwbpy+ko48dVErTlwoesrDc1WgJ/N9YEgGIArzWBXDh8vlt3/vXITZP6U0WWVTCeeKw==","shasum":"def16b2d5f5f3714bd65a05258d51e51b3ee38a1","tarball":"https://registry.npmjs.org/@bptlab/openbpt-modeler-bpmn/-/openbpt-modeler-bpmn-1.0.0.tgz","fileCount":366,"unpackedSize":5065162,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDxvPgSMZbFKGaZQdypGrNwBHuIvP/HeoqKr69pvuQKpAIgdu5tiVg9YPoYYFte6vDCexEALKvyYZW9nIDhTkGcSyA="}]},"_npmUser":{"name":"maximiliankoenig","email":"maximilian.koenig@hpi.de"},"directories":{},"maintainers":[{"name":"maximiliankoenig","email":"maximilian.koenig@hpi.de"},{"name":"bpt-lab","email":"bptlab@hpi.de"},{"name":"t-lichtenstein","email":"lichtenstein-t@web.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openbpt-modeler-bpmn_1.0.0_1757948252324_0.7047554034265926"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-15T14:57:32.266Z","1.0.0":"2025-09-15T14:57:32.554Z","modified":"2025-09-15T14:57:32.882Z"},"maintainers":[{"name":"maximiliankoenig","email":"maximilian.koenig@hpi.de"},{"name":"bpt-lab","email":"bptlab@hpi.de"},{"name":"t-lichtenstein","email":"lichtenstein-t@web.de"}],"description":"A fork of the bpmn-js repository with extensions for the OpenBPT project.","homepage":"https://github.com/bptlab/openbpt-modeler-bpmn#readme","keywords":["bpmn","bpmn-js","toolkit","web modeler","modeler","modeling","process modeling"],"repository":{"type":"git","url":"git+https://github.com/bptlab/openbpt-modeler-bpmn.git"},"contributors":[{"name":"bpmn.io contributors","url":"https://github.com/bpmn-io"},{"name":"Maximilian König"}],"author":{"name":"bptlab","url":"https://github.com/bptlab"},"bugs":{"url":"https://github.com/bptlab/openbpt-modeler-bpmn/issues"},"license":"SEE LICENSE IN LICENSE","readme":"# bpmn-js - BPMN 2.0 for the web\r\n\r\n[![Build Status](https://github.com/bpmn-io/bpmn-js/workflows/CI/badge.svg)](https://github.com/bpmn-io/bpmn-js/actions?query=workflow%3ACI)\r\n\r\nView and edit BPMN 2.0 diagrams in the browser.\r\n\r\n[![bpmn-js screencast](./resources/screencast.gif \"bpmn-js in action\")](http://demo.bpmn.io/s/start)\r\n\r\n## Installation\r\n\r\nUse the library [pre-packaged](https://github.com/bpmn-io/bpmn-js-examples/tree/main/pre-packaged)\r\nor include it [via npm](https://github.com/bpmn-io/bpmn-js-examples/tree/main/bundling)\r\ninto your node-style web-application.\r\n\r\n## Usage\r\n\r\nTo get started, create a [bpmn-js](https://github.com/bpmn-io/bpmn-js) instance\r\nand render [BPMN 2.0 diagrams](https://www.omg.org/spec/BPMN/2.0.2/) in the browser:\r\n\r\n```javascript\r\nconst xml = '...'; // my BPMN 2.0 xml\r\nconst viewer = new BpmnJS({\r\n  container: 'body'\r\n});\r\n\r\ntry {\r\n  const { warnings } = await viewer.importXML(xml);\r\n\r\n  console.log('rendered');\r\n} catch (err) {\r\n  console.log('error rendering', err);\r\n}\r\n```\r\n\r\nCheckout our [examples](https://github.com/bpmn-io/bpmn-js-examples) for many\r\nmore supported usage scenarios.\r\n\r\n### Dynamic Attach/Detach\r\n\r\nYou may attach or detach the viewer dynamically to any element on the page, too:\r\n\r\n```javascript\r\nconst viewer = new BpmnJS();\r\n\r\n// attach it to some element\r\nviewer.attachTo('#container');\r\n\r\n// detach the panel\r\nviewer.detach();\r\n```\r\n\r\n## Resources\r\n\r\n* [Demo](http://demo.bpmn.io)\r\n* [Issues](https://github.com/bpmn-io/bpmn-js/issues)\r\n* [Examples](https://github.com/bpmn-io/bpmn-js-examples)\r\n* [Forum](https://forum.bpmn.io)\r\n* [Changelog](./CHANGELOG.md)\r\n\r\n## Build and Run\r\n\r\nPrepare the project by installing all dependencies:\r\n\r\n```sh\r\nnpm install\r\n```\r\n\r\nThen, depending on your use-case you may run any of the following commands:\r\n\r\n```sh\r\n# build the library and run all tests\r\nnpm run all\r\n\r\n# spin up a single local modeler instance\r\nnpm start\r\n\r\n# run the full development setup\r\nnpm run dev\r\n```\r\n\r\nYou may need to perform [additional project setup](./docs/project/SETUP.md) when\r\nbuilding the latest development snapshot.\r\n\r\n## Related\r\n\r\nbpmn-js builds on top of a few powerful tools:\r\n\r\n* [bpmn-moddle](https://github.com/bpmn-io/bpmn-moddle): Read / write support for BPMN 2.0 XML in the browsers\r\n* [diagram-js](https://github.com/bpmn-io/diagram-js): Diagram rendering and editing toolkit\r\n\r\nIt is an extensible toolkit, complemented by many [additional utilities](https://github.com/bpmn-io/awesome-bpmn-io). \r\n\r\n## License\r\n\r\nUse under the terms of the [bpmn.io license](http://bpmn.io/license).\r\n","readmeFilename":"README.md","_rev":"1-99d264547f2527077ed37257eb0b52bc"}