From 4a7c152ff79b3715fb983a1d8d48b05342f75bda Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 14 Feb 2015 00:28:54 -0800 Subject: [PATCH] Automate dependency updating. --- Gruntfile.coffee | 5 +++++ 1 file changed, 5 insertions(+) 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: