From b73449aa87b1328c466a8c38894ed25b3298b724 Mon Sep 17 00:00:00 2001 From: Tiago Ferraz Date: Wed, 11 Feb 2015 12:37:58 -0200 Subject: General Refactoring Refactored __init__ method on app_test_client to be succint, go to say what is doing and package.json to execute handlebars from the whole path. --- web-ui/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web-ui/package.json') diff --git a/web-ui/package.json b/web-ui/package.json index a3fd3b2c..d09d13e4 100644 --- a/web-ui/package.json +++ b/web-ui/package.json @@ -20,11 +20,11 @@ "watch": "^0.13.0" }, "scripts": { - "test": "npm run clean && npm run handlebars && node_modules/karma/bin/karma start --single-run --browsers PhantomJS $GRUNT_OPTS", - "debug": "npm run clean && npm run handlebars && node_modules/karma/bin/karma start --browsers Chrome $GRUNT_OPTS", + "test": "npm run clean && npm run node_modules/handlebars/bin/handlebars && node_modules/karma/bin/karma start --single-run --browsers PhantomJS $GRUNT_OPTS", + "debug": "npm run clean && npm run node_modules/handlebars/bin/handlebars && node_modules/handlebars/bin/node_modules/karma/bin/karma start --browsers Chrome $GRUNT_OPTS", "watch": "npm run compass-watch & npm run handlebars-watch", "watch-test": "node_modules/karma/bin/karma start", - "handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .", + "handlebars": "mkdir -p app/js/generated/hbs/ && node_modules/handlebars/bin/handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .", "handlebars-watch": "node_modules/.bin/watch 'npm run handlebars' app/templates", "compass": "compass compile", "compass-watch": "compass watch", -- cgit v1.2.3