jspm / jspm-cli

ES Module Package Manager

Home Page:https://jspm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github packages and/or repositories

canadaduane opened this issue · comments

I've forked a package called shelf and I've made it into a module (possibly temporarily--I'm just experimenting with something).

Is there a way to tell jspm to install the following package? It has no dependencies.

https://github.com/canadaduane/shelf

Prior related work: #2497

The current best way to achieve this is to treat it as a file: dependency in the dependencies and have it locally available. You can also set up a custom map as well.

The hope remains for features like IPFS support to be able to assist with these kinds of more varied workflows.

As a workaround, I discovered this: http://raw.githack.com/

Sure, I'm willing. However, I'm a bit confused about how to get jspm-cli running locally. I use chomp to build... and then node dist/cli.js does... nothing.

I mean, I think it would be really cool to see. Perhaps try running https://github.com/jspm/jspm-cli/blob/main/jspm.js directly - ./jspm.js or node ./jspm.js.