From b4a28788d08e097bb5ea86ffedd2654cede928e0 Mon Sep 17 00:00:00 2001 From: Richard Willis Date: Mon, 2 Mar 2015 08:14:12 +0000 Subject: [PATCH] Deps fixes --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 121cd64..e1a1fb6 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,14 @@ "prerelease": "npm test", "prestart": "npm install", "prestart-dev": "npm run prestart", - "prebuild": "npm run prep-dist-dir", - "preprep-dist-dir": "npm run clean", - "bla": "NODE_ENV=production echo $npm_config_production", + "prebuild": "npm run dist-dir", + "predist-dir": "npm run clean", + "posthtml-copy": "npm run html-template", "start": "NODE_ENV=production npm run build && npm run compress && npm run start-server", "start-dev": "NODE_ENV=development npm run build-dev && `npm run start-server & npm run watch`", "clean": "rm -rf $npm_package_config_dist_dir", - "prep-dist-dir": "mkdir -p $npm_package_config_dist_dir\"/js\" && mkdir -p $npm_package_config_dist_dir\"/css\"", - "html-copy": "cd app && find . -name \"*.html\" -type f -exec rsync -R {} \"../\"$npm_package_config_dist_dir\"/\" \\; && npm run html-template", + "dist-dir": "mkdir -p $npm_package_config_dist_dir\"/js\" && mkdir -p $npm_package_config_dist_dir\"/css\"", + "html-copy": "cd app && find . -name \"*.html\" -type f -exec rsync -R {} \"../\"$npm_package_config_dist_dir\"/\" \\;", "html-template": "[[ \"$NODE_ENV\" == \"production\" ]] && prod=\"true\" || prod=\"false\"; node -p \"require('lodash').template(require('fs').readFileSync('app/index.html'))({version:'$npm_package_version',production:$prod});\" > $npm_package_config_dist_dir\"/index.html\"", "html-watch": "nodemon -e html -x \"npm run html-copy\" --watch \"./app\"", "browserify": "browserify --entry app/app.jsx --outfile $npm_package_config_js_bundle.$npm_package_version.js --transform babelify --verbose",