-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.03 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 2.03 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
{
"name": "auth-service",
"module": "index.ts",
"scripts": {
"start": "bun run index.ts",
"dev": "bun --watch run index.ts",
"build": "tsc",
"build:watch": "tsc --watch",
"clean": "rm -rf dist",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "bun test",
"test:watch": "bun test --watch",
"prepare": "husky install",
"knex": "NODE_OPTIONS='--loader ts-node/esm' knex --knexfile ./src/config/knexfile.ts",
"pg:migrate:make": "bun run knex migrate:make -x ts",
"pg:seed:make": "bun run knex seed:make -x ts",
"pg:migrate": "bun run knex migrate:latest --verbose",
"pg:rollback": "bun run knex migrate:rollback --verbose",
"pg:seed": "bun run knex seed:run",
"pg:reset": "bun run knex migrate:rollback && bun run knex migrate:latest && bun run knex seed:run",
"mongo-cli": "bunx ts-node ./src/config/mongo-migrate-cli.ts",
"mongo:migrate:make": "bun run mongo-cli new -t ./src/database/MongoDB/mingration.stub",
"mongo:migrate": "bun run mongo-cli up",
"mongo:rollback": "bun run mongo-cli down -l",
"mongo:status": "bun run mongo-cli status",
"format": "prettier --write ."
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.13.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript-eslint": "^8.17.0",
"ts-node": "^10.9.2"
},
"peerDependencies": {
"typescript": "^5.7.2"
},
"dependencies": {
"@types/amqplib": "^0.10.6",
"@types/bcrypt": "^5.0.2",
"@types/jsonwebtoken": "^9.0.7",
"amqplib": "^0.10.5",
"bcrypt": "^5.1.1",
"dotenv": "^16.4.5",
"jsonwebtoken": "^9.0.2",
"knex": "^3.1.0",
"mongo-migrate-ts": "^1.6.2",
"mongoose": "^8.14.1",
"pg": "^8.13.1",
"winston": "^3.17.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
]
}
}