Baseline.js icon indicating copy to clipboard operation
Baseline.js copied to clipboard

Add Bower and npm support?

Open slavafomin opened this issue 9 years ago • 3 comments

Could you please add Bower and npm support? There is no way to use it in my project right now.

slavafomin avatar Jul 16 '15 14:07 slavafomin

A project does not necessarily need a bower.json to be required using Bower. You can always link a repository directly. The same is true for npm.

At last there is always the option to download and save a JS file from anywhere and use in it your project. (I guess that's hard to imagine for some folks – but that is how every web-dev worked until a few years ago…)

Examples using Bower and github.com without a bower.json in targeted project

Require the latest snapshot from the master branch:

"dependencies": {
    "baseline": "https://github.com/daneden/Baseline.js/archive/master.zip"
}

Require a specific commit:

"dependencies": {
    "baseline": "https://github.com/daneden/Baseline.js/archive/1a0b8986c51e0a19e0e816e1c3706571910f0aa0.zip"
}

feeela avatar Aug 28 '15 13:08 feeela

yeah but how much nicer would it be to do

  bower install baselinejs --save-dev

Pushplaybang avatar Aug 28 '15 13:08 Pushplaybang

(I guess that's hard to imagine for some folks – but that is how every web-dev worked until a few years ago…) — feeela

haha - true. (but I get the automators too...)

robhadfield avatar Aug 30 '15 10:08 robhadfield