Created
January 29, 2021 20:06
-
-
Save AdonousTech/561c7063fcc6685470aec341e8fa23d5 to your computer and use it in GitHub Desktop.
A Cloud Coach - Tutorial - Serverless Stripe Store - 019 - CDK NPM Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"install-dependencies": "npm install && cd %npm_package_config_infrastructureDirName% && npm install && cd ../%npm_package_config_lambdaDirName% && npm install", | |
"first-init-dev": "npx cdk bootstrap aws://%npm_package_config_devAccountNumber%/%npm_package_config_region% --profile %npm_package_config_devProfile%", | |
"first-init-prod": "npx cdk bootstrap aws://%npm_package_config_prodAccountNumber%/%npm_package_config_region% --profile %npm_package_config_prodProfile%", | |
"check-cdk-updates": "cd %npm_package_config_infrastructureDirName% && npx npm-check-updates -u", | |
"install-cdk-updates": "cd %npm_package_config_infrastructureDirName% && npm install", | |
"make-cdk-app": "mkdir %npm_package_config_infrastructureDirName% && cd %npm_package_config_infrastructureDirName% && npx cdk init --language typescript && npm run build", | |
"synth-stack": "cd %npm_package_config_infrastructureDirName% && npm run build && npx cdk synth", | |
"list-stacks": "cd %npm_package_config_infrastructureDirName% && npx cdk ls", | |
"deploy-dev-stack": "cd %npm_package_config_infrastructureDirName% && npx cdk synth && npx cdk deploy %npm_package_config_stackNameDev% --profile %npm_package_config_devProfile%", | |
"delete-dev-stack": "cd %npm_package_config_infrastructureDirName% && npx cdk destroy %npm_package_config_stackNameDev% --profile %npm_package_config_devProfile%", | |
"deploy-prod-stack": "cd %npm_package_config_infrastructureDirName% && npx cdk synth && npx cdk deploy %npm_package_config_stackNameProd% --profile %npm_package_config_prodProfile%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment