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

Use package.json devDependancies #8

Closed
fulmicoton opened this issue Mar 6, 2013 · 2 comments
Closed

Use package.json devDependancies #8

fulmicoton opened this issue Mar 6, 2013 · 2 comments

Comments

@fulmicoton
Copy link

Npm offers a devDependancies options that let's you define the stuff you need to install to build.

Those will be install in node_modules when running npm install .
You can also define a build script shortcut.


My bad. I need some sleep.

qqueue added a commit that referenced this issue Mar 6, 2013
Shouldn't need root priveges anymore, since npm scripts use `node_modules/.bin`.

Also document commonjs-everywhere usage.
@qqueue
Copy link
Owner

qqueue commented Mar 6, 2013

Er, I'm not sure if you meant to open a bug here, but in any case, I think I addressed the issue. Since htmlchan isn't a node library, I'm using package.json purely for easy dependency management, so the devDepedency behavior isn't really relevant to me outside of semantics.

But, I did switch to using npm's run-script to avoid needing to install coke globally, so the installation instructions are less dumb now.

@fulmicoton
Copy link
Author

Thank you. And yes I agree, my message about devDependancies was plain stupid. Sorry for that,

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

2 participants