Grunt task to check for outdated dependencies on package.json.
npm install grunt-contrib-outdatedGrunt task to check for outdated NPM dependencies.
``js`
npm install --save-dev grunt-contrib-outdated
`js
grunt.initConfig({
outdated: {
dev: {
options: {
// Perform the check with devDependencies too.
development: true
}
}
}
});
grunt.loadNpmTasks('grunt-run-grunt');
`
* Add more flags
* Better error handling
* Use NPM instead of spawn`?