npm initis a setup "wizard" for creating
package.jsonfiles. Once executed, npm will prompt us for each common field. This is a good habit to get into as, in most cases, the only similar field across all your projects will be the
authorfield and there is an npm command for this too:
npm config set init.author.name 'Jaime Pillora'. This will set the default author for all subsequent
npm init. We especially should not copy and paste our
dependenciesfield when starting a new project. The time when there is no code to break is the perfect time to upgrade to the ...
- Project setup
- Publisher: Packt Publishing
- Released: February 2014
npm init is a setup "wizard" for creating package.json files.
Share this highlighthttp://www.safaribooksonline.com/a/getting-started-with/47398/