Check files for existence.
npm install grunt-file-exists>=0.4.0
shell
npm install grunt-file-exists --save-dev
`
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js
grunt.loadNpmTasks('grunt-file-exists');
`
FileExists task
_Run this task with the grunt fileExists command._
$3
`js
fileExists: {
scripts: ['a.js', 'b.js']
},
`
`js
fileExists: {
scripts: grunt.file.readJSON('scripts.json')
},
`
For Maintainers
$3
1. Bump up version in package.json according to Semver and commit to git
2. Put git tag `git tag vX.X.X`
3. Push commit and tag `git push origin --tags`
4. Publish to npm `npm publish``