From 2cbe939412e572d5e4f03728a8730e11ad2b4a43 Mon Sep 17 00:00:00 2001 From: TANAKA Koichi Date: Tue, 13 Sep 2016 16:51:41 +0900 Subject: [PATCH] Fix handlerbars script in package.json npm "run scripts" resolves executable file path with PATH includes ./node_modules/.bin fixes #2411 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cb5f3839..0a07a831 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "main": "dist/swagger-ui.js", "scripts": { "build": "npm run handlebars && gulp", - "handlebars": "./node_modules/handlebars/bin/handlebars ./src/main/template -f ./src/main/template/templates.js && gulp handlebars", + "handlebars": "handlebars ./src/main/template -f ./src/main/template/templates.js && gulp handlebars", "serve": "gulp serve", "prejshint": "gulp", "jshint": "jshint .",