Commit 6f1d993e authored by Patricio Bruna's avatar Patricio Bruna

deploy npm target

parent 12560b80
......@@ -58,3 +58,6 @@ sftp-config.json
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
.idea
.vagrant
vagrant
Vagrantfile
......@@ -69,6 +69,7 @@
"scripts": {
"check": "eslint --ext \".jsx\" --ignore-pattern node_modules --quiet .",
"build": "NODE_ENV=production webpack",
"deploy": "NODE_ENV=production webpack",
"run": "webpack --progress --watch",
"run-fullmap": "webpack --progress --watch",
"companies-service": "babel-node companies-service.js",
......
......@@ -22,7 +22,7 @@ const hash = timestamp.slice(-6, timestamp.length);
var DEV = false;
var FULLMAP = false;
if (NPM_TARGET === 'run' || NPM_TARGET === 'run-fullmap') {
if (NPM_TARGET === 'run' || NPM_TARGET === 'run-fullmap' || NPM_TARGET === 'deploy') {
DEV = true;
if (NPM_TARGET === 'run-fullmap') {
FULLMAP = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment