With updated shrinkwrap. I've tested it (with -g) from my own repository, it installs pretty-data.
I've also just found that nodejs can detect stdin usage, which makes an argument like - unnecessary. So, with this, you can use cat input.json | json-schema-generator > output.json without any additonal argument. I've updated the help text, README and test case for this. It should still be backwards compatible.
Also, could you bump the version and npm publish the result? If only for the sake of fixing the installation of dependencies for other users.
With updated shrinkwrap. I've tested it (with
-g
) from my own repository, it installs pretty-data.I've also just found that nodejs can detect stdin usage, which makes an argument like
-
unnecessary. So, with this, you can usecat input.json | json-schema-generator > output.json
without any additonal argument. I've updated the help text, README and test case for this. It should still be backwards compatible.Also, could you bump the version and
npm publish
the result? If only for the sake of fixing the installation of dependencies for other users.