process-analytics / bpmn-visualization-js

A TypeScript library for visualizing process execution data on BPMN diagrams
https://process-analytics.github.io/bpmn-visualization-js/
Apache License 2.0
224 stars 31 forks source link

[INFRA] Publish to npmjs #597

Closed csouchet closed 4 years ago

csouchet commented 4 years ago

Is your feature request related to a problem? Please describe. For the developper, we need to publish the npm package that includes several bundles and development resources.

Examples

Describe the solution you'd like

npmjs account

decide which account will be used for the publish

npm configuration in the repository

Packaging npm in the package.json

https://docs.npmjs.com/files/package.json

Additional fields for our project

Preview of dist directory -/dist bpmn-visualization.esm.js bpmn-visualization.js bpmn-visualization.d.ts

Verify the packaging name before the publishing

.npmignore

If needed, create the .npmignore file, in order to know what we want to keep in the generated tar.gz file

tbouffard commented 4 years ago

Now available on npmjs: https://www.npmjs.com/package/bpmn-visualization