-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 3.35 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 3.35 KB
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
{
"name": "borrowlend-api",
"version": "1.0.0",
"description": "BorrowLend API",
"main": "serverless.ts",
"license": "MIT",
"scripts": {
"build:layer:prisma": "sh scripts/prisma-lambda-layer.sh",
"create:users": "sls export-env && ts-node scripts/createUsers.ts && IS_DEPLOYING=true npx sls deploy function -f login",
"db:migrate:dev": "sls export-env && yarn db:migrate:generic",
"db:migrate:generic": "prisma migrate deploy",
"delete:alias": "sls remove --stage $CI_COMMIT_REF_NAME --verbose",
"deploy:dev": "yarn build:layer:prisma && IS_DEPLOYING=true sls deploy --verbose",
"deploy:alias": "sls deploy --stage $CI_COMMIT_REF_NAME --verbose",
"deploy:function": "yarn build:layer:prisma && IS_DEPLOYING=true sls deploy function -f",
"format": "prettier --write .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"package": "sls package",
"print": "sls print",
"prisma:migration:create": "sls export-env && prisma migrate dev --create-only",
"start": "IS_LOCAL=true sls offline local-authorizers",
"test:coverage": "yarn test:unit && yarn test:integration",
"test:integration": "jest --config jest-integration.config.ts --passWithNoTests",
"test:integration:watch": "yarn test:integration --watch",
"test:unit": "jest --config jest.config.ts --passWithNoTests",
"test:unit:watch": "yarn test:unit --watch"
},
"engines": {
"node": ">=20.10.0"
},
"dependencies": {
"@aws-lambda-powertools/logger": "2.3.0",
"@aws-lambda-powertools/tracer": "2.3.0",
"@middy/core": "5.4.3",
"@middy/http-error-handler": "5.4.3",
"@middy/http-json-body-parser": "5.4.3",
"@middy/http-security-headers": "5.4.3",
"@middy/validator": "5.4.3",
"@middy/warmup": "5.4.3",
"@prisma/client": "5.16.1",
"axios": "1.7.2",
"http-errors": "2.0.0"
},
"devDependencies": {
"@aws-sdk/client-cognito-identity-provider": "3.609.0",
"@aws-sdk/client-lambda": "3.609.0",
"@serverless/typescript": "3.38.0",
"@smithy/hash-stream-node": "3.1.2",
"@types/aws-lambda": "8.10.140",
"@types/http-errors": "2.0.4",
"@types/jest": "29.5.12",
"@types/node": "20.14.9",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"dotenv": "16.4.5",
"esbuild": "0.23.0",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"liquid-json": "0.3.1",
"prettier": "3.3.2",
"prisma": "5.16.1",
"serverless": "3.39.0",
"serverless-certificate-creator": "1.6.0",
"serverless-domain-manager": "7.3.8",
"serverless-esbuild": "1.52.1",
"serverless-export-env": "2.2.0",
"serverless-iam-roles-per-function": "3.2.0",
"serverless-offline": "13.6.0",
"serverless-offline-local-authorizers-plugin": "patch:serverless-offline-local-authorizers-plugin@npm%3A1.2.0#~/.yarn/patches/serverless-offline-local-authorizers-plugin-npm-1.2.0-25bcecfcd5.patch",
"serverless-plugin-warmup": "8.3.0",
"ts-jest": "29.1.5",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.5.3"
},
"packageManager": "yarn@4.3.1"
}