Improve production builds and deployment

Removes all custom build & deploy scripts, switching to 5apps Deploy's
new build directory config instead. Builds production to `release/` when
updating the version using `npm version`.
This commit is contained in:
2019-06-12 15:22:29 +02:00
parent 1ea5305e6e
commit f9f6786f95
3 changed files with 4 additions and 33 deletions
+4 -3
View File
@@ -17,9 +17,10 @@
"start": "KREDITS_APM_DOMAIN=open.aragonpm.eth ember serve",
"start:local": "WEB3_PROVIDER_URL=http://localhost:7545 ember s",
"build": "ember build",
"build-prod": "ember build --environment production",
"update-version-file": "bash scripts/update-version-file.sh",
"deploy": "npm run build-prod && npm run update-version-file && bash scripts/deploy.sh"
"build-prod": "rm -rf release/* && ember build -prod --output-path release",
"preversion": "npm test",
"version": "npm run build-prod && git add release/",
"deploy": "git push 5apps master"
},
"devDependencies": {
"@ember/jquery": "^0.5.2",