-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 3.71 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": "it-portfolio-manager-backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"offline": "STAGE_NAME=dev sls offline --stage=dev start",
"dynamodb:install": "sls dynamodb install",
"dynamodb:start:dev": "nohup sls dynamodb start --stage=dev --seed >/dev/null &",
"dynamodb:start:dev:interactive": "sls dynamodb start --stage=dev --seed",
"dynamodb:start:test": "nohup sls dynamodb start --stage=test --seed >/dev/null &",
"dynamodb:kill": "pgrep -f \"DynamoDBLocal.jar\" | xargs kill",
"dynamodb:admin": "npx dynamodb-admin",
"test:execute": "STAGE_NAME=test IS_OFFLINE=true npx dotenv -e .env.test -- tap test --jobs=1 --node-arg=--require=ts-node/register --disable-coverage --allow-empty-coverage",
"test:prepare": "docker compose up -d mariadb-test && npm run dynamodb:kill && sleep 10 && npm run dynamodb:start:test && sleep 10 && npx dotenv -e .env.test -- npx prisma migrate dev",
"test": "npm run test:prepare && npm run test:execute && npm run dynamodb:kill && docker compose stop mariadb-test",
"test:ci": "npm run dynamodb:start:test && sleep 60 && npm run test:execute",
"test:coverage:execute": "STAGE_NAME=test IS_OFFLINE=true npx dotenv -e .env.test -- tap test --jobs=1 --node-arg=--require=ts-node/register",
"test:coverage": "npm run test:prepare && npm run test:coverage:execute && npm run dynamodb:kill && docker compose stop mariadb-test",
"test:filter:execute": "STAGE_NAME=test IS_OFFLINE=true npx dotenv -e .env.test -- tap test --jobs=1 --grep=\"$npm_config_filter\" --node-arg=--require=ts-node/register --disable-coverage",
"test:filter": "npm run test:prepare && npm run test:filter:execute && npm run dynamodb:kill && docker compose stop mariadb-test",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"precommit:init": "husky install",
"build:env": "npx ts-node src/env.ts $npm_config_buildStage"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.421.0",
"@aws-sdk/client-secrets-manager": "^3.670.0",
"@aws-sdk/client-ssm": "^3.503.1",
"@types/module-alias": "^2.0.2",
"@types/node": "^20.5.4",
"@types/sinon": "^17.0.3",
"@types/tap": "^15.0.8",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"dotenv-cli": "^7.4.2",
"dynamodb-admin": "^4.5.0",
"husky": "^8.0.3",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"prisma": "^5.19.1",
"serverless-dynamodb": "^0.2.43",
"serverless-offline": "^12.0.4",
"serverless-plugin-typescript": "^2.1.5",
"sinon": "^18.0.0",
"tap": "^18.6.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@fastify/autoload": "^5.7.1",
"@fastify/awilix": "^4.0.0",
"@fastify/aws-lambda": "^3.3.0",
"@fastify/cookie": "^9.3.1",
"@fastify/cors": "^8.4.0",
"@fastify/env": "^4.2.0",
"@fastify/jwt": "^7.2.1",
"@fastify/session": "^10.9.0",
"@fastify/swagger": "^8.10.0",
"@fastify/swagger-ui": "^1.9.3",
"@prisma/client": "^5.19.1",
"@sinclair/typebox": "^0.31.2",
"@slack/web-api": "^7.0.2",
"awilix": "^9.0.0",
"casbin": "^5.32.0",
"casbin-prisma-adapter": "^1.5.0",
"crypto": "^1.0.1",
"fast-csv": "^5.0.1",
"fastify": "^4.23.2",
"fastify-casbin": "^3.1.1",
"fastify-casbin-rest": "^3.1.1",
"fastify-plugin": "^4.5.1",
"get-jwks": "^8.3.0",
"google-auth-library": "^9.10.0",
"module-alias": "^2.2.3",
"openai": "^4.26.0",
"serverless-tscpaths": "^0.0.8",
"uuid": "^11.0.3"
}
}