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

What about install devDepencies for npm? #21

Open
robertfausk opened this issue Mar 11, 2016 · 2 comments
Open

What about install devDepencies for npm? #21

robertfausk opened this issue Mar 11, 2016 · 2 comments

Comments

@robertfausk
Copy link

So we would need a section require-npm-dev in composer.json.

For bower it is already supported but not for npm packages.

@pueppiblue
Copy link

The documentation on this is quite unclear. Derrived from Example Uage
"require-dev-bower": {}
i assumed i could install gulp using:

"require-dev-npm": {
            "gulp": "^3.9.1"
        }

package.json gets updated for gulp with one flaw:

 "dependencies": {
        "gulp": "^3.9.1"
}

where it should read devDependencies instead.

@nsams
Copy link
Member

nsams commented Apr 19, 2016

require-dev-npm is correct, I added it to readme.

Adding it to devDependencies should not be required, as package.json is generated and will include dev dependencies when requested. Or do I miss here something?

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

3 participants