forked from innFactory/bootstrap-aws-serverless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 3.88 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "bootstrap-aws-serverless",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "npm run check:local && sst dev --profile=innfactory-demo",
"start:test": "npm run check:local && sst dev --profile=innfactory-demo --stage=test",
"build": "npm run check && sst build --profile=innfactory-demo",
"deploy": "npm run check && sst deploy --profile=innfactory-demo",
"deploy:test": "npm run check && sst deploy --profile=innfactory-demo --stage=test",
"ci:deploy:dev": "npm run check && sst deploy --stage=dev",
"ci:deploy:staging": "npm run check && sst deploy --stage=staging",
"ci:deploy:prod": "npm run check && sst deploy --stage=prod",
"remove:test": "sst remove --profile=innfactory-demo --stage=test && npm run remove:log-groups",
"remove:log-groups": "aws logs describe-log-groups --profile=innfactory-demo --query 'logGroups[?contains(logGroupName,`test`)].logGroupName' --output table | awk '{print $2}' | grep -v ^$ | while read x; do aws logs delete-log-group --profile=innfactory-demo --log-group-name $x; done",
"remove": "sst remove --profile=innfactory-demo",
"console": "sst console",
"check": "tsc --noEmit --noUnusedLocals false --noUnusedParameters false && npm run lint",
"check:local": "tsc --noEmit --noUnusedLocals false --noUnusedParameters false && npm run lint:local",
"test": "sst bind --profile=innfactory-demo --stage=test 'vitest run'",
"lint": "eslint --max-warnings=0 .",
"lint:local": "eslint .",
"codegen:build": "cd smithy-codegen && ./gradlew build",
"codegen:clean": "cd smithy-codegen && ./gradlew clean && npm run codegen:clean:clients",
"codegen:clean:clients": "rm -rf services/test/utils/client/* ",
"codegen:install": "npm i --no-save smithy-codegen/build/smithyprojections/smithy-codegen/source/typescript-ssdk-codegen",
"codegen": "npm run codegen:clean && npm run codegen:build && npm run codegen:install && npm run codegen:client:application",
"codegen:client:application": "openapi-generator-cli generate -i smithy-codegen/build/smithyprojections/smithy-codegen/source/openapi/Api.openapi.json -o services/test/utils/client -g typescript-axios --additional-properties npmName=api-client,supportsES6=false,useRxJs=false,withInterfaces=true",
"login": "aws sso login --profile=innfactory-demo",
"login:cognito": "aws cognito-idp admin-initiate-auth --region eu-central-1 --cli-input-json file://cognitoAuth.json --profile=innfactory-demo"
},
"dependencies": {
"@aws-lambda-powertools/logger": "1.6.0",
"@aws-lambda-powertools/tracer": "1.6.0",
"@aws-sdk/client-cloudwatch": "^3.409.0",
"@aws-sdk/client-cognito-identity-provider": "^3.409.0",
"@aws-sdk/util-base64-node": "^3.209.0",
"@aws-sdk/util-utf8-node": "^3.259.0",
"aws-jwt-verify": "^3.4.0",
"aws-sdk": "^2.1455.0",
"axios": "^1.5.0",
"cloudstructs": "^0.6.39",
"fp-ts": "^2.16.1",
"inversify": "^6.0.1",
"inversify-inject-decorators": "^3.1.0",
"jsonwebtoken": "9.0.2",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"uuid": "^9.0.0"
},
"devDependencies": {
"@aws-sdk/types": "3.408.0",
"@aws-smithy/server-apigateway": "^1.0.0-alpha.10",
"@aws-smithy/server-common": "^1.0.0-alpha.10",
"@openapitools/openapi-generator-cli": "^2.6.0",
"@tsconfig/node16": "^1.0.3",
"@types/jsonwebtoken": "9.0.2",
"@types/lodash": "^4.14.194",
"@types/node": "^18.11.9",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"aws-cdk-lib": "2.91.0",
"constructs": "10.2.69",
"eslint": "^8.49.0",
"eslint-config-prettier": "^8.7.0",
"prettier": "^2.7.1",
"sst": "2.24.27",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.8.4",
"vitest": "^0.33.0"
},
"workspaces": [
"services"
]
}