-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.42 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
{
"name": "ip-scan-be",
"version": "1.0.0",
"main": "index.js",
"author": "HungLV",
"license": "MIT",
"private": true,
"type": "commonjs",
"scripts": {
"prepare": "husky",
"clean": "rm -rf ./dist tsconfig.tsbuildinfo",
"compile": "tsc -b",
"build": "yarn clean; yarn compile",
"start": "node ./dist/index.js",
"dev": "yarn nodemon ./src/index.ts | yarn pino-pretty",
"test": "yarn lab -v src/tests/** --typescript",
"docker:up": "docker compose --file docker-compose.yaml up -d",
"docker:down": "docker compose --file docker-compose.yaml down",
"db:generate": "yarn prisma generate",
"db:migrate": "yarn prisma migrate deploy",
"db:migrate-new": "npx prisma migrate dev --create-only",
"db:migrate-dev": "yarn prisma migrate dev",
"db:seed": "yarn ts-node ./prisma/seeds/seeds.ts",
"db:studio": "yarn prisma studio",
"style:format": "yarn prettier . --write",
"style:check": "yarn eslint"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.629.0",
"@bull-board/hapi": "^5.21.1",
"@elastic/elasticsearch": "^8.14.0",
"@hapi/boom": "^10.0.1",
"@hapi/hapi": "^21.3.10",
"@hapi/inert": "^7.1.0",
"@hapi/vision": "^7.0.3",
"@prisma/client": "^5.17.0",
"@types/underscore": "^1.11.15",
"bullmq": "^5.10.4",
"dotenv": "^16.4.5",
"hapi-pino": "^12.1.0",
"hapi-swagger": "^17.2.1",
"install-peerdeps": "^3.0.3",
"ioredis": "^5.4.1",
"joi": "^17.13.3",
"lint-check": "^0.0.2",
"pino": "^9.3.2",
"underscore": "^1.13.7",
"viem": "^2.19.2"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@faker-js/faker": "^8.4.1",
"@hapi/code": "^9.0.3",
"@hapi/lab": "^25.3.1",
"@types/node": "^20.14.12",
"@types/randomstring": "^1.3.0",
"eslint": "9.x",
"git-format-staged": "^3.1.1",
"globals": "^15.8.0",
"husky": "^9.1.1",
"lint-staged": "^15.2.7",
"nodemon": "^3.1.4",
"pino-pretty": "^11.2.2",
"prettier": "^3.3.3",
"prisma": "^5.17.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.4",
"typescript-eslint": "^7.18.0"
},
"imports": {
"#root/*": "./dist/*.js",
"#apis/*": "./dist/apis/*.js",
"#common/*": "./dist/common/*.js",
"#configs/*": "./dist/configs/*.js",
"#jobs/*": "./dist/jobs/*.js"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
}
}