manage-npm-scripts
v1.0.1
Published
Manage package.json `npm run` scripts
Downloads
20
Readme
manage-npm-scripts
Manage package.json npm run
scripts without package.json editing
$ npm install -g manage-npm-scripts
$ npm-script set example "echo This is an example"
set: example
$ npm-script ls
example: echo This is an example
$ npm-script get example
echo This is an example
$ npm run example
> [email protected] example /Users/rebecca/code/npm-script
> echo This is an example
This is an example
$ npm-script set example ""
cleared: example
What this does
This just reads and edits your package.json, which makes it easier to make changes from scripts or as documentation.