Improved custom commands

This commit is contained in:
Sven Heidemann 2021-11-25 17:29:31 +01:00
parent 2e24a3b1f2
commit ed9a3bc90c

View File

@ -14,12 +14,12 @@
},
"Scripts": {
"pre-start": "echo '!WARNING! You should start with the right environment!\nRun cpl start-ENV\nSee workspace for more details.'; sleep 2",
"pre-start-dev": "echo 'development:'; ",
"start-dev": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start",
"pre-start-stage": "echo 'staging:'; ",
"start-stage": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start",
"pre-start-prod": "echo 'production:'; ",
"start-prod": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start"
"pre-dev-start": "echo 'development:'; ",
"dev-start": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start",
"pre-stage-start": "echo 'staging:'; ",
"stage-start": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start",
"pre-prod-start": "echo 'production:'; ",
"prod-start": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start"
}
}
}