From: Timo Tijhof Date: Thu, 19 Mar 2015 01:08:57 +0000 (+0000) Subject: build: Declare grunt-cli dependency X-Git-Tag: 1.31.0-rc.0~12048 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=fa4ba8dbd7519a817dad75994ed31a3fc34c6f96;p=lhc%2Fweb%2Fwiklou.git build: Declare grunt-cli dependency A long time ago, npm did not support using command line programs within 'npm test' (not unless harcoding a path to node_modules/bin/... within packages.json/scripts/test). But this has been long supported. Declaring a (dev)dependency will provide its binaries to the PATH used by the subshell 'npm test' creates internally. Add grunt-cli so that developers don't have to manually install it. Change-Id: I6a7fafa3c6e40d2407f07c514167ab9fc7661685 --- diff --git a/package.json b/package.json index 076582b211..933212cac1 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "devDependencies": { "grunt": "0.4.5", + "grunt-cli": "0.1.13", "grunt-banana-checker": "0.2.0", "grunt-contrib-copy": "0.8.0", "grunt-contrib-jshint": "0.11.0",