-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 3.56 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "taco-chef",
"version": "1.0.0",
"scripts": {
"start": "NODE_ENV=development run watch",
"watch": "webpack-cli -w",
"build:all": "webpack-cli",
"test": "nyc --reporter=text-summary --reporter=lcov --reporter=cobertura --reporter=json mocha -r ts-node/register --tsconfig tsconfig_tests.json src/**/*.spec.ts --opts mocha.opts",
"test:open": "open ./coverage/lcov-report/index.html",
"invoke:createTacos": "stackery local invoke -f createTacos -e dev --build --aws-profile rrp --input-file src/createTacos/__mocks__/createEvent.json",
"invoke:createTacos:only": "stackery local invoke -f createTacos -e dev --aws-profile rrp --stack-name taco-chef --input-file src/createTacos/__mocks__/createEvent.json",
"invoke:getTacos": "stackery local invoke -f getTacos -e dev --build --aws-profile rrp",
"invoke:deleteTacos": "stackery local invoke -f deleteTacos -e dev --build --aws-profile rrp --input-file src/deleteTacos/__mocks__/deleteEvent.json",
"invoke:deleteTacos:only": "stackery local invoke -f deleteTacos -e dev --aws-profile rrp --input-file src/deleteTacos/__mocks__/deleteEvent.json",
"invoke:updateTacos": "stackery local invoke -f updateTacos -e dev --build --aws-profile rrp --input-file src/updateTacos/__mocks__/updateEvent.json",
"invoke:updateTacos:only": "stackery local invoke -f updateTacos -e dev --aws-profile rrp --input-file src/updateTacos/__mocks__/updateEvent.json",
"invoke:getSauces": "stackery local invoke -f getSouces -e dev --build --aws-profile rrp",
"invoke:getSauces:only": "stackery local invoke -f getSouces -e dev --aws-profile rrp",
"dev:deploy": "stackery deploy --stack-name taco-chef -e dev --aws-profile rrp",
"clean": "rm -rf dist/ && rm -rf .aws-sam/",
"prepackage": "npm run clean && npm run build:all && mkdir .aws-sam/build/src && cp -R src/layers/ .aws-sam/build/src/layers",
"prod:package": "sam package --region us-west-2 --s3-bucket stackery-assetsbucket-1ry92atjolviv --s3-prefix deployments/dev/taco-chef/functions --kms-key-id alias/aws/s3 --output-template-file .aws-sam/build/packaged-template.yaml --profile rrp",
"prod:deploy": "sam deploy --template-file .aws-sam/build/packaged-template.yaml --stack-name taco-chef-prod --profile rrp --region us-west-2 --capabilities CAPABILITY_IAM --parameter-overrides EnvironmentAPIGatewayStageName=taco-chef-prod StackTagName=taco-chef EnvironmentTagName=prod",
"prod:release": "npm run prepackage && npm run prod:package && npm run prod:deploy"
},
"prettier": {
"trailingComma": "none",
"singleQuote": true
},
"dependencies": {
"axios": "^0.18.0",
"uid": "^2.0.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.32",
"@types/aws-lambda": "8.10.46",
"@types/aws-sdk": "^2.7.0",
"@types/chai": "4.1.7",
"@types/mocha": "2.2.45",
"@types/nock": "11.1.0",
"@types/node": "^13.13.13",
"@types/pg": "^7.14.3",
"@types/sinon": "9.0.2",
"aws-sam-webpack-plugin": "0.6.0",
"chai": "4.2.0",
"fuzzy": "0.1.3",
"inquirer": "6.5.2",
"inquirer-autocomplete-prompt": "1.0.2",
"mocha": "6.1.4",
"nock": "12.0.3",
"nyc": "13.3.0",
"recursive-readdir-sync": "1.0.6",
"shelljs": "0.7.8",
"sinon": "9.0.2",
"ts-loader": "6.2.1",
"ts-node": "8.7.0",
"typescript": "3.8.3",
"webpack": "4.42.0",
"webpack-cli": "3.3.11"
}
}