diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 2eec0282d..ab1c4f6e8 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -171,6 +171,11 @@ module.exports = (grunt) -> command: 'git push origin --tags -f && git push origin --all' npm: command: 'npm install' + update: + command: """ + npm update --save-dev <%= Object.keys(pkg.devDependencies).filter(function(name) {return /^\\^/.test(pkg.devDependencies[name]);}).join(' ') %> + ./node_modules/.bin/npm-shrinkwrap --dev + """.split('\n').join('&&') watch: options: