Update deployment scripts

This commit is contained in:
John Lyon-Smith
2018-05-14 12:17:36 -07:00
parent 3b37bd7974
commit 68f976ed7f
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
"start": "babel-node src/server.js", "start": "babel-node src/server.js",
"start:prod": "NODE_ENV=production node dist/server.js", "start:prod": "NODE_ENV=production node dist/server.js",
"build": "rm -rf dist && babel src -d dist -s", "build": "rm -rf dist && babel src -d dist -s",
"deploy": "rsync -vr -e ssh --exclude-from .rsync-exclude * ubuntu@gs-1:deighton-ar/server/ && ssh ubuntu@gs-1 'cd deighton-ar/server && npm install'", "deploy": "rsync -vr -e ssh --exclude-from .rsync-exclude * ubuntu@gs-1:deighton-ar-server/ && ssh ubuntu@gs-1 'cd deighton-ar-server && npm install'",
"test": "jest", "test": "jest",
"actor:api": "monzilla 'src/api/**/*.js:src/database/**/*.js' -- babel-node src/api/index.js", "actor:api": "monzilla 'src/api/**/*.js:src/database/**/*.js' -- babel-node src/api/index.js",
"actor:api:debug": "babel-node --inspect-brk src/api/index.js", "actor:api:debug": "babel-node --inspect-brk src/api/index.js",

View File

@@ -62,7 +62,7 @@
"scripts": { "scripts": {
"start": "node scripts/start.js", "start": "node scripts/start.js",
"build": "node scripts/build.js", "build": "node scripts/build.js",
"deploy": "rsync -vr -e ssh build/* ubuntu@gs-1:deighton-ar/website/", "deploy": "rsync -vr -e ssh build/* ubuntu@gs-1:deighton-ar-website/",
"lint": "eslint --ext .js --ext .jsx src/", "lint": "eslint --ext .js --ext .jsx src/",
"lint:fix": "eslint --ext .js --ext .jsx --fix src/" "lint:fix": "eslint --ext .js --ext .jsx --fix src/"
}, },