1.0.18 • Published 7 years ago

package-json-reducer v1.0.18

Weekly downloads
3
License
ISC
Repository
github
Last release
7 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

7 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.10

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago