diff --git a/.travis.yml b/.travis.yml index 87e3456..d08875d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,5 @@ language: node_js node_js: - - '0.10' - - '0.12' - - 'iojs' - - '4' - - '5' - '6' - '7' - '8' diff --git a/package.json b/package.json index e12a8f4..881ef32 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ "scripts": { "test": "standard && node cli.js test/ && node cli.js . && node cli.js . --missing --extra --no-dev -e js:detective-cjs" }, + "engines": { + "node": ">=6.0.0" + }, "author": "max ogden", "dependencies": { "async": "^2.1.4", diff --git a/readme.md b/readme.md index 92c09c9..d289060 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,10 @@ checks which modules you have used in your code and then makes sure they are lis [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) +## requirements + +dependency-check `3.x` supports Node.js 6 and later + ## how it works `dependency-check` parses your module code starting from the default entry files (e.g. `index.js` or `main` and any `bin` commands defined in package.json) and traverses through all relatively required JS files, ultimately producing a list of non-relative modules