make-deps-exact

0.1.5 • Public • Published

make-deps-exact npm

Removes version range from package.json

Currently it only supports reading from package-lock.json file to replace the package.json version

Installation

npm install make-deps-exact

Usage

Uses current working directory's package.json and package-lock.json

make-deps-exact [...opts] [...patterns]
  --skip-git    skip git+ssh protocol
  -d,--dry      do not write to package.json
  -q,--quiet    do not output changes to console
  -h,--help     show help message

Pass a list of expressions if you want to only remove the semver from certain packages and not every package:

make-deps-exact eslint* typescript

Contributing

We follow the conventional commits specs.

Publishing new changes

npm run release
git push origin master --follow-tags
npm publish

Package Sidebar

Install

npm i make-deps-exact

Weekly Downloads

10

Version

0.1.5

License

MIT

Unpacked Size

5.24 kB

Total Files

4

Last publish

Collaborators

  • danielpanpm