build: Declare grunt-cli dependency
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 19 Mar 2015 01:08:57 +0000 (01:08 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 19 Mar 2015 01:08:57 +0000 (01:08 +0000)
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

package.json

index 076582b..933212c 100644 (file)
@@ -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",