npm itself is pretty modular and many parts of it can be used here, e.g.:
https://npmjs.org/package/init-package-json
https://github.com/isaacs/promzard
https://npmjs.org/package/read-installed
(the list goes on)
it would be nice to support this workflow:
npm install datapackage -g
datapackage init
then it would prompt you in the same way that npm init works, and you end up with a valid package.json
I also would like to find common ground for a module that I can depend on from dat to manage a package.json for data in every dat repo that gets initialized. maybe a module that uses init-package-json with a schema specific to SDF? then this module and dat could both use it
npm itself is pretty modular and many parts of it can be used here, e.g.:
https://npmjs.org/package/init-package-json
https://github.com/isaacs/promzard
https://npmjs.org/package/read-installed
(the list goes on)
it would be nice to support this workflow:
then it would prompt you in the same way that
npm initworks, and you end up with a valid package.jsonI also would like to find common ground for a module that I can depend on from dat to manage a package.json for data in every dat repo that gets initialized. maybe a module that uses init-package-json with a schema specific to SDF? then this module and dat could both use it