shama / napa

:wine_glass: A helper for installing stuff without a package.json with npm.
MIT License
412 stars 34 forks source link

Specify whether napa should be installed as a dependencies or devDependencies #3

Closed DjebbZ closed 10 years ago

DjebbZ commented 10 years ago

I'm pretty sure it should be installed as a devDependencies, but a small note in the README would be great. Hum... Waiting for you input, then maybe I'll send a PR to change the install command to npm install --save-dev napa

shama commented 10 years ago

Up to the user but likely always devDependencies. Happy to take a PR for the readme change but could we nitpickly change it to, npm install napa --save-dev?

DjebbZ commented 10 years ago

Let's nitpick :) Kidding. Just so I understand : my (poor) knowledge of Unix shell is that command options should go just after the command itself. So why do you put '--save-dev' at the end and not after 'install' ?

I'll send the PR you want anyway, it's really for myself.

shama commented 10 years ago

--save-dev could go in either place. I just prefer it at the end as it better reads what it is actually doing: installs napa then saves to the devDep. :)

DjebbZ commented 10 years ago

It makes sense :)

shama commented 10 years ago

b1c97add6e19ef7508d45118e4784379b3f0e623