1.0.18 • Published 6 years ago

package-json-reducer v1.0.18

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

package-json-reducer

Utility to remove specified fields from a package.json file and save to a different location. More specifically this is useful for removing entries in 'scripts' that maybe used for dev testing that you don't want in an external release of your library.

#usage

  • -s 'param1 param2' A list of params to remove from the top level
  • -o /path A location to store the output file

package-json-reducer -s 'param1 ...' -o /path/to/output /path/to/input

package-json-reducer -s 'config devDependencies directories scripts' -o test/package.reduced test/package.json
1.0.18

6 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.10

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago