jlong / css-spinners

Simple CSS spinners and throbbers made with CSS and minimal HTML markup.
http://www.css-spinners.com
MIT License
924 stars 157 forks source link

Publish to NPM #8

Open brendannee opened 9 years ago

brendannee commented 9 years ago

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

jlong commented 9 years ago

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

thecotne commented 9 years ago

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 commented 9 years ago

yes, I need it as an NPM module too.

thecotne commented 9 years ago

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 commented 7 years ago

@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 commented 4 years ago

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