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": { "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": "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:'; ", "pre-dev-start": "echo 'development:'; ",
"start-dev": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start", "dev-start": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start",
"pre-start-stage": "echo 'staging:'; ", "pre-stage-start": "echo 'staging:'; ",
"start-stage": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start", "stage-start": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start",
"pre-start-prod": "echo 'production:'; ", "pre-prod-start": "echo 'production:'; ",
"start-prod": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start" "prod-start": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start"
} }
} }
} }