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

Merge package.json instead of overwriting #1

Closed
doowb opened this issue Mar 22, 2014 · 2 comments
Closed

Merge package.json instead of overwriting #1

doowb opened this issue Mar 22, 2014 · 2 comments

Comments

@doowb
Copy link
Member

doowb commented Mar 22, 2014

Is there a way to merge the package.json information instead of overwriting the entire file with information from the node boilerplate (only one I tried so far)?

I used the yeoman node generator to setup my project initialing and I was expecting to be able to use the verb sub-generator to add boilerplate node library documentation without changing my package.json settings.

@jonschlinkert
Copy link
Member

Here is what I'm doing: https://github.com/assemble/generator-verb/blob/master/app/index.js#L79.

I did it the way you're suggesting initially, I agree. I'll change it back.

@jonschlinkert
Copy link
Member

done.

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