Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publishing to npm #11

Closed
thescientist13 opened this issue Jan 6, 2021 · 1 comment · Fixed by #21
Closed

publishing to npm #11

thescientist13 opened this issue Jan 6, 2021 · 1 comment · Fixed by #21

Comments

@thescientist13
Copy link
Contributor

thescientist13 commented Jan 6, 2021

Was just curious if there was any interest in publishing this project to npm?

I think this would be especially helpful for those who might want to depend on this project via a package manager like npm or yarn, e.g.

$ npm install simple.css

which would then support continued use and upgrades via package.json

"dependencies": {
  "simple.css": "^1.0.0"
}

Additionally, I'm pretty sure this would also have a knock on effect of making this automatically available via tools like unpkg, so users could also just pop this into a <link> tag as well, e.g.

<link rel="stylesheet" href="https://unpkg.com/simple.css/simple.css">

To implement, the following steps would need to be taken (and I can help by submitting a PR for steps 1 + 2)

  1. Add a package.json to the project with minimum needed keys like name, files, etc
  2. Update README.md / website with different options for usage / installation (package manager, unpkg, copy / paste)
  3. Publish (by the maintainer) and test 🤞
@kevquirk
Copy link
Owner

Hey,

Sorry for the delay on responding to this. I think it's a great idea. If you want to submit a PR for steps 1 and 2, I'll so what's needed from my side so we can (hopefully) make this happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants