devongovett / svelte-hooks

50 stars 3 forks source link

Publish on npm #8

Open TylerRick opened 4 years ago

TylerRick commented 4 years ago

Looks like it's not on https://www.npmjs.com/package/svelte-hooks (yet)?

In the meantime, I guess I'll try to use

yarn add https://github.com/devongovett/svelte-hooks.git
TylerRick commented 4 years ago

Oops, I just noticed that if you do:

yarn add https://github.com/devongovett/svelte-hooks.git

then you end up with this in your package.json:

    "svelte": "https://github.com/devongovett/svelte-hooks.git",             

Need to change the package name in https://github.com/devongovett/svelte-hooks/blob/master/package.json :)

TylerRick commented 4 years ago

Could you at least fix the package name in https://github.com/devongovett/svelte-hooks/blob/master/package.json so folks can add it using a git URL? :smile: