Fix handlerbars script in package.json

npm "run scripts" resolves executable file path with PATH includes ./node_modules/.bin
fixes #2411
This commit is contained in:
TANAKA Koichi
2016-09-13 16:51:41 +09:00
parent f321c62edc
commit 2cbe939412

View File

@@ -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 .",