Skip to content

gammasoft/freshness

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freshness

exit(1) if there is any outdated package

npm outdated as a test

if there is any outdated package in your package.json, it should be an error to keep your dependencies up to date. This freshness command helps you to check them and notice you by falling a command if you are using an old package in your package.json. If you'd like to manage by automated pull-requests, you should try greenkeeper.

getting started

install the package via npm install

$ npm install --save-dev freshness

add a run-script to your package.json:

{
 "test": "freshness"
}

you may specify packages to ignore by passing the --ignore parameter like so:

freshness --ignore=nodeunit,async

run it

$ npm test

Usage

See --help:

freshness --help

  Usage: freshness [options]

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -i, --ignore <packages>  A comma separated list of packages to ignore

About

exit(1) if there is any outdated package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%