paralleldrive/cuid

specify "unpkg" and/or "jsdelivr" properties in package.json

niftylettuce opened this issue · 4 comments

add "unpkg": "dist/cuid.min.js" and "jsdelivr": "dist/cuid.min.js" to package.json so that we can use <script src="https://unpkg.com/cuid"></script> and window.cuid in our scripts

also dist is ignored in .gitignore so it doesn't get published up.

so you will have to add to package.json a property files with value [ "dist", "lib" ]

PR inbound in just a sec

see #124

after merging you will just need to version bump

I recommend np and release for NPM/GitHub release management if you wanted something to make this easy

👏 thank you @ericelliott