-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "aws-serverless-kickstarter",
"version": "0.0.1",
"description": "Serverless backend for a sample kickstarter application",
"scripts": {
"dev": "sam build; sam local start-api --env-vars local.env.json;",
"invoke": "sam build; sam local invoke;",
"deployStack": "sam build; sam deploy --config-file samconfig.toml --config-env $ENVIRONMENT --profile kickstarter-deploy; npm run postDeployStack",
"deployDev": "export ENVIRONMENT=dev; npm run deployStack",
"deployStaging": "export ENVIRONMENT=staging; npm run deployStack",
"deployProd": "export ENVIRONMENT=prod; npm run deployStack",
"deleteStack": "aws cloudformation delete-stack --stack-name $STACK_NAME",
"deleteStackDev": "export STACK_NAME=kickstarter-dev; npm run deleteStack",
"deleteStackStaging": "export STACK_NAME=kickstarter-staging; npm run deleteStack",
"deleteStackProd": "export STACK_NAME=kickstarter-prod; npm run deleteStack",
"postDeployStack": "echo Done;",
"deployProdCICD": "export STACK_NAME=kickstarter-prod; sam build; sam deploy --config-file samconfig.toml --config-env prod",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint .",
"lint-fix": "eslint --fix ."
},
"author": "Gary Chiu",
"license": "ISC",
"devDependencies": {
"eslint": "^7.12.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.1.2",
"prettier-eslint": "^11.0.0",
"prettier-eslint-cli": "^5.0.0"
}
}