-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.69 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.69 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
{
"name": "my-api",
"type": "module",
"main": "index.js",
"version": "1.0.0",
"description": "my-api",
"scripts": {
"test": "DOTENV_CONFIG_PATH=.env.test node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --forceExit",
"prune": "sls prune -n 3 --dryRun",
"doc": "sls openapi generate -o ./doc/build/openapi.yaml -a 3.0.3 -f yaml && sls openapi generate -o ./doc/build/openapi.json -a 3.0.3 -f json -p ./doc/build/postman.json && redocly lint ./doc/build/openapi.yaml --generate-ignore-file && redocly build-docs ./doc/build/openapi.yaml --output=./doc/build/index.html",
"db": "cd .dev/docker && docker stop $(docker ps -aq) && docker compose build && docker compose up -d",
"layer-dependencies-install": "cd src/layer/dependencies/nodejs && npm install",
"layer-shared-install": "cd src/layer/shared/nodejs/node_modules/my-api-utils && npm install"
},
"author": "d.desio@eleva.it",
"license": "ISC",
"dependencies": {
"@aws-lambda-powertools/parameters": "^2.1.0",
"@aws-sdk/client-secrets-manager": "^3.572.0",
"mysql2": "^3.2.4",
"serverless-mysql": "^1.5.5"
},
"devDependencies": {
"@redocly/cli": "^1.0.0-beta.125",
"axios": "1.7.9",
"dotenv": "^16.4.7",
"ejs": "^3.1.10",
"jest": "^29.7.0",
"jest-openapi": "^0.14.1",
"my-api-utils": "file:src/layer/shared/nodejs/node_modules/my-api-utils",
"openapi-validator": "^0.14.1",
"osls": "^3.46.0",
"serverless-api-gateway-caching": "^1.10.4",
"serverless-jetpack": "^0.11.2",
"serverless-offline": "^13.9.0",
"serverless-openapi-documenter": "^0.0.109",
"serverless-prune-plugin": "^2.1.0",
"serverless-slic-watch-plugin": "^3.2.2"
}
}