https://github.com/vidhill/package-json-editor
CLI Tool to modify package.json when, intended for use when using Github's templating feature
https://github.com/vidhill/package-json-editor
Last synced: about 2 months ago
JSON representation
CLI Tool to modify package.json when, intended for use when using Github's templating feature
- Host: GitHub
- URL: https://github.com/vidhill/package-json-editor
- Owner: vidhill
- License: mit
- Created: 2021-06-12T11:33:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T02:55:45.000Z (almost 2 years ago)
- Last Synced: 2025-03-10T00:54:50.037Z (3 months ago)
- Language: JavaScript
- Size: 1.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @vidhill/package-json-editor
[](https://circleci.com/gh/vidhill/package-json-editor/tree/main)
[](https://www.npmjs.com/package/@vidhill/package-json-editor)
Use case:
When using Github's [template repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-template-repository) feature for JS projectsThe `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
```bash
$ 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
```bash
$ npm install -g @vidhill/package-json-editor
```From within the folder containing your `package.json` run
```bash
$ package-json-editor
```