travi / generator-node

yeoman generator for node repositories
MIT License
0 stars 0 forks source link

npm init #13

Open travi opened 7 years ago

travi commented 7 years ago

should the generator call out to npm init?

if so, should probably use --scoped, like npm init --scope=<your_scope>

travi commented 7 years ago

author vs maintainers vs contributors

https://github.com/bevry/projectz#data-files

travi commented 7 years ago
travi commented 7 years ago
travi commented 7 years ago

this is how repository, homepage, and bugs are determined in an npm init: https://github.com/npm/init-package-json/blob/3c34250fa58507056a94f3940ee2a28540f83592/default-input.js#L182-L202

travi commented 7 years ago

validate the package name: https://github.com/npm/validate-npm-package-name

travi commented 7 years ago

include author email and website