css-spinners icon indicating copy to clipboard operation
css-spinners copied to clipboard

Publish to NPM

Open brendannee opened this issue 9 years ago • 6 comments

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

brendannee avatar Mar 11 '15 01:03 brendannee

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

jlong avatar May 13 '15 18:05 jlong

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

thecotne avatar May 13 '15 20:05 thecotne

yes, I need it as an NPM module too.

beeant avatar Jul 02 '15 16:07 beeant

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

thecotne avatar Jul 02 '15 20:07 thecotne

@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';

mastilver avatar Nov 12 '16 21:11 mastilver

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

B-Prod avatar Apr 30 '20 15:04 B-Prod