@vidhill/package-json-editor
v1.1.0
Published
Edit important fields in package.json, useful when using Github templates
Readme
@vidhill/package-json-editor
Use case: When using Github's template repository feature for JS projects
The package.json will need to be updated with new name, description, version etc.
This package is intended to be run as a cli tool via npx
Usage
From within the folder containing your package.json run
$ npx @vidhill/package-json-editorYou will be prompted to answer a number of questions, similar to those when running npm init
- plus a few extra questions.
Global install method
Install
$ npm install -g @vidhill/package-json-editorFrom within the folder containing your package.json run
$ package-json-editor