@vidhill/package-json-editor
v1.1.0
Published
Edit important fields in package.json, useful when using Github templates
Downloads
2
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-editor
You 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-editor
From within the folder containing your package.json
run
$ package-json-editor