Browse Source

Need better commands for deployment.

master
Zed A. Shaw 5 months ago
parent
commit
ea0adb2f0c
  1. 4
      package.json

4
package.json

@ -12,7 +12,9 @@
"fixtures": "rm -rf deployment/testing/* protected && ln -sf ./deployment/testing protected && ./scripts/rr ./scripts/services/generator.js --debug -s __tests__/fixtures -t protected",
"testwatch": "NODE_OPTIONS='--unhandled-rejections=strict' jest --watch --notify --detectOpenHandles",
"deploy": "npx sapper export && rsync -azzv __sapper__/export/ $DEP_USER@learnjsthehardway.com:/srv/http/www/learnjsthehardway.com/",
"staging": "node scripts/rr ./scripts/services/ci.js --debug --force --production --not_needed=git_logs,prod_code,www_push,restart --build_target=deployment/staging"
"development": "node scripts/rr ./scripts/services/ci.js --debug --force --production --not_needed=git_logs,prod_code,www_push,restart --build_target=deployment/staging",
"staging": "node scripts/rr ./scripts/services/ci.js --debug --force --production --build_target=deployment/staging",
"production": "node scripts/rr ./scripts/services/ci.js --debug --force --production --build_target=deployment/production"
},
"dependencies": {
"Validator": "^1.1.1",

Loading…
Cancel
Save