📦 Create basic npm package.json programmatically from cli arguments
This project is a very basic npm init initializer
npm init p --name project -- --version 0.0.1
- name (default: current directory name)
- version (default: 0.0.1, must be behind double dash
--
ornpm init
will just show npm version) - description
- keywords (coma separated, ex: "keyword, more keyword")
- homepage (ex: "https://github.com/user/repo#readme")
- bugs (ex: "https://github.com/user/repo/issues")
- license (ex: "(ISC OR GPL-3.0)")
- author (ex: "Barney Rubble b@rubble.com (http://barnyrubble.tumblr.com/)")
- files (coma separated, ex: "file.ext, path/**/*")
- main (ex: "index.js")
- browser (ex: "index.umd.js")
- repository (ex: "github:user/repo")
- private (boolean flag)