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

Document configuration #21

Closed
rstacruz opened this issue Aug 13, 2014 · 1 comment · Fixed by npm/cli#6819
Closed

Document configuration #21

rstacruz opened this issue Aug 13, 2014 · 1 comment · Fixed by npm/cli#6819

Comments

@rstacruz
Copy link

It seems that it listens for a bunch in certain config keys (like init.license). It would be nice to document these somewhere.

I think they are:

  • init.license — defaults to ISC
  • init.version — defaults to 1.0.0
  • init.author.name
  • init.author.email
  • init.author.url

And you can set them via:

$ npm config set init.author.name "Lightning McQueen"
@iamstarkov
Copy link

They are documented here as well https://docs.npmjs.com/misc/config#init-module

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

Successfully merging a pull request may close this issue.

2 participants