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

Publish to NPM #8

Open
brendannee opened this issue Mar 11, 2015 · 6 comments
Open

Publish to NPM #8

brendannee opened this issue Mar 11, 2015 · 6 comments

Comments

@brendannee
Copy link

It would be great to get this as an NPM module.

@jlong
Copy link
Owner

jlong commented May 13, 2015

How are CSS files shared on NPM? Can you point me to some documentation?

@thecotne
Copy link
Contributor

you can publish package to npm with npm publish https://docs.npmjs.com/cli/publish
i personally think it's not correct to publish css files as nodejs package
but since bootstrap and jquery is available over npm it makes some sense to publish this package

@beeant
Copy link

beeant commented Jul 2, 2015

yes, I need it as an NPM module too.

@thecotne
Copy link
Contributor

thecotne commented Jul 2, 2015

things have changed now laravel uses npm for bootstrap-sass so for all who uses laravel including me
it makes more sense to use npm not bower or any other package manager\

https://github.com/laravel/laravel/blob/master/package.json#L8

@mastilver
Copy link

@jlong To publish to npm just, run: npm publish
It will ask you to login if you are not yet

@ALL In the meantime you can install css-spinners by doing: npm install --save jlong/css-spinners

Then if you are using sass, you can do:
@import '~css-spinners';

@B-Prod
Copy link

B-Prod commented Apr 30, 2020

This is not working, the SASS folder is missing with this method.

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

No branches or pull requests

6 participants