js-sequence-diagrams icon indicating copy to clipboard operation
js-sequence-diagrams copied to clipboard

Distribute on npm

Open blakeembrey opened this issue 9 years ago • 6 comments

I would love to be able to use this by npm install sequence-diagrams and have it just work with Browserify, Webpack and any other JS build tools. Any chance this'll be added?

blakeembrey avatar Aug 11 '15 00:08 blakeembrey

We are on bower, is that not sufficient for your use case? To be honest I never quite understood the need for both npm and bower, as they have a lot of overlap.

bramp avatar Aug 11 '15 00:08 bramp

@bramp Honestly, I haven't seen the need either and I avoid using Bower - which probably answers the question :smile: Not sure what would be involved with it, but I imagine it should be fairly straightforward. Without NPM I have to copy and paste code and dependencies and use globals.

blakeembrey avatar Aug 11 '15 00:08 blakeembrey

I actually have a package on npm (for a different project). I can investigate adding this as well.

bramp avatar Aug 11 '15 00:08 bramp

Sweet, thanks :+1: Looking forward to giving it a go.

On a controversial side note, is it possible to remove underscore from the project? It's normally a pretty big/unnecessary dependency. I can do a PR for either of these if you need a hand or don't have the time.

blakeembrey avatar Aug 11 '15 00:08 blakeembrey

Always happy to receive pull requests. We support underscore or lodash. We only use their functions in a handful of places, but it just made the code neater.

bramp avatar Aug 11 '15 00:08 bramp

FYI I've started a PR #146 that could help to solve this issue.

sergeyt avatar Jan 13 '16 17:01 sergeyt