JSPM

manage-npm-scripts

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q18925F
  • License ISC

Manage package.json `npm run` scripts

Package Exports

  • manage-npm-scripts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (manage-npm-scripts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

> npm-script@1.0.0 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.