npm-stiv

1.0.9 • Public • Published

npm-stiv

Stars To Installed Versions

Converts stars(asterisks) in package.json's deps to installed versions.

Installation

npm install -g npm-stiv

Example:

You have a package.json file:

{
  "name": "visortelle",
  "version": "0.0.1",
  "description": "",
  "author": "",
  "license": "ISC",
  "dependencies": {
    "autoprefixer": "*",
    "babel-preset-es2015": "*",
    "babel-preset-react": "^6.1.18",
    "babelify": "*",
    "browser-sync": "*",
    "gulp": "*",
    "gulp-browserify": "^0.5.1",
    "gulp-imagemin": "*"
  }
}
npm install
npm-stiv
  1. It creates backup bck_package.json file.
  2. npm-stiv detects current installed deps versions and modify original package.json file:
{
  "name": "visortelle",
  "version": "0.0.1",
  "description": "",
  "author": "",
  "license": "ISC",
  "dependencies": {
    "autoprefixer": "6.1.0",
    "babel-preset-es2015": "6.1.18",
    "babel-preset-react": "^6.1.18",
    "babelify": "7.2.0",
    "browser-sync": "2.10.0",
    "gulp": "3.9.0",
    "gulp-browserify": "^0.5.1",
    "gulp-imagemin": "2.4.0"
  }
}

Package Sidebar

Install

npm i npm-stiv

Weekly Downloads

0

Version

1.0.9

License

MIT

Last publish

Collaborators

  • visortelle