0.0.10 • Published 10 years ago

sematic-dependencies v0.0.10

Weekly downloads
43
License
-
Repository
github
Last release
10 years ago

Sematic Dependencies Build Status

Put the correct dependencies version inside package.json instead of * so we dont get unsupported version in future.

Install

Download manually or with a package-manager.

npm

npm install --global sematic-dependencies

Example

If you have your dependencies already installed in node_modules folder, it will get the version from that folder

var sd = require('sematic-dependencies');
console.log(sd({
  "dependencies": {
    "object-extend": "*"
  },
  "devDependencies": {
    "mocha": "*",
    "should": "3.3.2"
  }
}));
/*
{
  "dependencies": {
    "object-extend": "^0.5.0"
  },
  "devDependencies": {
    "mocha": "^1.19.0",
    "should": "3.3.2"
  }
}
*/

CLI

Run it from folder where the package.json is located

$ sd
$ sd -p=~ -i=4
$ sd --prefix=~ --indentation=4
$ sd --prefix=~ --indentation=tab

Options

prefix

Type: String
Default: '^'

Prefix for your package dependencies. (most used are ^ or ~)

License

MIT © Daniel Husar

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago