-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 4.18 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
79
80
81
82
83
84
85
86
{
"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": "2.5.0",
"@aws-lambda-powertools/tracer": "2.5.0",
"@aws-sdk/client-cloudwatch": "3.614.0",
"@aws-sdk/client-cognito-identity-provider": "3.614.0",
"@aws-sdk/util-base64-node": "3.209.0",
"@aws-sdk/util-utf8-node": "3.259.0",
"aws-jwt-verify": "4.0.1",
"aws-sdk": "2.1659.0",
"axios": "1.7.2",
"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": "4.0.0",
"lodash": "4.17.21",
"reflect-metadata": "0.2.2",
"uuid": "10.0.0"
},
"devDependencies": {
"@aws-sdk/types": "3.609.0",
"@aws-smithy/server-apigateway": "1.0.0-alpha.10",
"@aws-smithy/server-common": "1.0.0-alpha.10",
"@openapitools/openapi-generator-cli": "2.13.4",
"@tsconfig/node16": "1.0.3",
"@types/jsonwebtoken": "9.0.2",
"@types/lodash": "4.17.7",
"@types/node": "^18.11.9",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"aws-cdk-lib": "2.142.1",
"constructs": "10.3.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^8.7.0",
"prettier": "^2.7.1",
"sst": "2.43.4",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.5.4",
"vitest": "0.33.0"
},
"overrides": {
"@aws-sdk/credential-provider-sso": "3.210.0"
},
"dependenciesComments": {
"overrides": {
"@aws-sdk/credential-provider-sso": "This override is used to avoid following bug after npm start (local): sso_region not found. -> It maybe can be removed after update the aws dependencies"
}
},
"workspaces": [
"services"
]
}