@aajuarezd/rb-package

0.1.1 • Public • Published

rb-package

Rebuild your package.json from your package-lock.json

Sometimes install dependencies in your from works only thanks to package-lock.json, but if you don't keep congruency between package-lock.json and package.json you may fall in trouble with your dependencies. For example, when you don't version your package-lock and download the repository in other side where you don't have package-lock, your project could fail in building or other troubles.

This little package exposes and command you can execute to rebuid your package.json with the dependencies version in your package-lock.json, generating a new file named flat-package.json. Just run the next commands and use rb-package in your npm project and this tool will create the file just in that directory.

npm install -g @aajuarezd/rb-package

cd ../route/to/your/project

rb-package

Package Sidebar

Install

npm i @aajuarezd/rb-package

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

2.6 kB

Total Files

3

Last publish

Collaborators

  • aajuarezd