diff --git a/.travis.yml b/.travis.yml index 8ca0de2..1f1d132 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,12 @@ language: node_js + node_js: - - "10" - - "9" - - "8" - - "7" - "6" - - "5" + - "7" + +cache: + directories: + - "node_modules" + +notifications: + email: false diff --git a/README.md b/README.md index b3b510f..6ab7886 100644 --- a/README.md +++ b/README.md @@ -8,26 +8,9 @@ $ npm install package-age --global ``` - ## Usage -``` -❯ package-age --help - - Usage: package-age [options] - - Options: - - -v, --version output the version number - -f, --file [optional] path to the package.json - -y, --year [optional] after how much years a package should be considered old - -m, --month [optional] after how much months a package should be considered old - -a, --all parameter to get all kinds of dependencies - -d, --dev parameter to get the devDependencies - -p, --peer parameter to get the peerDependencies - -b, --bundled parameter to get the bundledDependencies - -h, --help output usage information -``` + ## License diff --git a/carbon.png b/carbon.png new file mode 100644 index 0000000..5f93910 Binary files /dev/null and b/carbon.png differ diff --git a/index.js b/index.js index 50cee3e..e4c30cd 100644 --- a/index.js +++ b/index.js @@ -16,6 +16,7 @@ const config = { commander .version(config.version, '-v, --version') + .description('A CLI for detecting old dependencies used in your project') .option('-f, --file [optional]', 'path to the package.json') .option('-y, --year [optional]', 'after how much years a package should be considered old')