From 91318dee4e73505f5f106ec72d75858196362123 Mon Sep 17 00:00:00 2001 From: cueedee Date: Tue, 14 Apr 2015 10:34:33 +0200 Subject: [PATCH] feat(app generator): replace 'test' entry in 'scripts' section with one that'll run `grunt test` --- generators/app/templates/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/app/templates/_package.json b/generators/app/templates/_package.json index 6f3a35eb..2a73b4cc 100644 --- a/generators/app/templates/_package.json +++ b/generators/app/templates/_package.json @@ -26,7 +26,7 @@ "private": true, "scripts": { "prepublish": "command -v grunt > /dev/null || { echo >&2 'It appears that \"grunt\" is not installed. Consider running \"npm install grunt --save-dev\" first.'; exit ; } && grunt", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "command -v grunt > /dev/null || { echo >&2 'It appears that \"grunt\" is not installed. Consider running \"npm install grunt --save-dev\" first.'; exit ; } && grunt test" }, "version": "0.1.0" }