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:
+4
-3
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user