summaryrefslogtreecommitdiff
path: root/web-ui/package.json
diff options
context:
space:
mode:
authorZara Gebru <zgebru@thoughtworks.com>2016-12-02 15:25:23 +0100
committerZara Gebru <zgebru@thoughtworks.com>2016-12-02 15:25:23 +0100
commitb14833fbb56bcd5bff0750c16fd9214009b955be (patch)
treea1ec621dd5f76d756ac59b72a763a34a2c189387 /web-ui/package.json
parent688a8b42e8ab7c6d4529b6dda66f40eead07ad02 (diff)
[refactor] move app dir into public dir
Diffstat (limited to 'web-ui/package.json')
-rw-r--r--web-ui/package.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index b937502f..3fa1d294 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -31,19 +31,19 @@
"debug": "npm run build && 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/ && 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",
+ "handlebars": "mkdir -p public/js/generated/hbs/ && node_modules/handlebars/bin/handlebars public/templates/**/*.hbs > public/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
+ "handlebars-watch": "node_modules/.bin/watch 'npm run handlebars' public/templates",
"compass": "compass compile",
"compass-watch": "compass watch",
"build": "npm run clean && npm run handlebars && npm run add_git_version && npm run compass && npm run build-signup",
"build-signup": "babel src/js -d lib/js && browserify lib/js/index.js >public/signup.js",
- "jshint": "node_modules/jshint/bin/jshint --config=.jshintrc app test",
- "clean": "rm -rf .tmp/ 'dist/*' app/js/generated/hbs/* app/css/*",
+ "jshint": "node_modules/jshint/bin/jshint --config=.jshintrc public test",
+ "clean": "rm -rf .tmp/ 'dist/*' public/js/generated/hbs/* public/css/*",
"buildmain": "node_modules/requirejs/bin/r.js -o config/buildoptions.js",
"package": "/bin/bash config/package.sh",
"imagemin": "node config/imagemin.js",
- "minify_html": "node_modules/.bin/html-minifier app/index.html --collapse-whitespace | sed 's|<!--usemin_start-->.*<!--usemin_end-->|<script src=\"assets/app.min.js\" type=\"text/javascript\"></script>|' > dist/index.html",
- "minify_sandbox": "node_modules/.bin/html-minifier app/sandbox.html --collapse-whitespace | sed 's|<!--usemin_start-->.*<!--usemin_end-->|<script src=\"sandbox.min.js\" type=\"text/javascript\"></script>|' > dist/sandbox.html",
+ "minify_html": "node_modules/.bin/html-minifier public/index.html --collapse-whitespace | sed 's|<!--usemin_start-->.*<!--usemin_end-->|<script src=\"assets/app.min.js\" type=\"text/javascript\"></script>|' > dist/index.html",
+ "minify_sandbox": "node_modules/.bin/html-minifier public/sandbox.html --collapse-whitespace | sed 's|<!--usemin_start-->.*<!--usemin_end-->|<script src=\"sandbox.min.js\" type=\"text/javascript\"></script>|' > dist/sandbox.html",
"add_git_version": "/bin/bash config/add_git_version.sh"
},
"dependencies": {