From 0dc05f87845422d18e9bb7a79968f1fa472b92d8 Mon Sep 17 00:00:00 2001 From: sanemat Date: Sat, 24 May 2014 17:36:06 +0900 Subject: [PATCH] Fix `npm test` command path This requires global grunt-cli. We have two solution: A: `npm install -g grunt-cli` before (e.g. travis-ci: before_script section) B: Change npm test script path and use `script/test` I choose the latter, because `script/test` takes account of environment I think. --- app/templates/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/_package.json b/app/templates/_package.json index 9c6c1c9..237c8e4 100644 --- a/app/templates/_package.json +++ b/app/templates/_package.json @@ -34,6 +34,6 @@ "main": "index.coffee", "scripts": { - "test": "grunt test" + "test": "script/test" } }