README
pkg-dot
CLI tool for managing package.json
.
Installation
npm install -g pkg-dot
Usage
$ pkg-dot property value
--path specify path to file
--delete | --del delete a property
Example
$ pkg-dot version
$ pkg-dot version 1.0
$ pkg-dot --path ./submodule/package.json version 1.0
$ pkg-dot resolutions.easy-peasy next
$ pkg-dot resolutions.easy-peasy --delete
TODO
- Add support for deleting
- Add tests
- Add --help
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request