-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.24 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "budget-tracker-be",
"version": "0.0.1",
"description": "",
"scripts": {
"start": "npm run dev",
"dev": "cross-env NODE_ENV=development nodemon",
"prod": "cross-env NODE_ENV=production nodemon",
"migrate:dev": "cross-env NODE_ENV=development npx sequelize-cli db:migrate",
"migrate:dev:undo": "cross-env NODE_ENV=development npx sequelize-cli db:migrate:undo",
"migrate": "cross-env NODE_ENV=production npx sequelize-cli db:migrate",
"migrate:undo": "cross-env NODE_ENV=production npx sequelize-cli db:migrate:undo",
"test": "cross-env NODE_ENV=test npm run test:unit && npm run test:e2e",
"test:unit": "cross-env NODE_ENV=test jest -c jest.config.unit.ts --passWithNoTests --forceExit --detectOpenHandles",
"test:e2e": "chmod +x ./src/tests/setup-e2e-tests.sh && ./src/tests/setup-e2e-tests.sh",
"lint": "eslint .",
"docker:dev": "docker compose --env-file .env.development -f ./docker/dev/docker-compose.yml up --build",
"docker:dev:ps": "docker compose --env-file .env.development -f ./docker/dev/docker-compose.yml ps",
"docker:dev:down": "docker compose --env-file .env.development -f ./docker/dev/docker-compose.yml down",
"docker:dev:destroy": "./docker/dev/docker-destroy.sh",
"docker:dev:run-in-container": "docker compose --env-file .env.development -f ./docker/dev/docker-compose.yml exec app",
"docker:prod:build": "docker buildx build --platform linux/amd64 -t letehaha/budget-tracker-be:latest -f ./docker/prod/Dockerfile .",
"docker:prod:push": "docker push letehaha/budget-tracker-be",
"docker:prod:preview": "docker compose -f ./docker/prod/docker-compose.yml up",
"docker:prod:preview:down": "docker compose -f ./docker/prod/docker-compose.yml down",
"docker:prod:build-push": "npm run docker:prod:build && npm run docker:prod:push",
"postinstall": "chmod +x ./post-install.sh && ./post-install.sh",
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/letehaha/budget-tracker-be.git"
},
"volta": {
"node": "21.7.3"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/letehaha/budget-tracker-be/issues"
},
"_moduleAliases": {
"@/src/": "build/src/",
"@js": "src/js",
"@routes": "src/routes",
"@middlewares": "src/middlewares",
"@common": "src/common",
"@controllers": "src/controllers",
"@models": "src/models",
"@tests": "src/tests",
"@services": "src/services",
"@root": "src",
"shared-types": "shared-types"
},
"homepage": "https://github.com/letehaha/budget-tracker-be#readme",
"dependencies": {
"axios": "1.7.4",
"bcryptjs": "2.4.3",
"cls-hooked": "^4.2.2",
"config": "3.3.11",
"connect-redis": "5.0.0",
"cors": "2.8.5",
"crypto-js": "4.2.0",
"currency-codes": "2.1.0",
"date-fns": "3.6.0",
"dotenv": "16.4.5",
"express": "4.21.1",
"express-validator": "7.0.1",
"express-winston": "4.2.0",
"jsonwebtoken": "9.0.2",
"locale": "0.1.0",
"morgan": "1.10.0",
"p-queue": "6.6.2",
"passport": "0.6.0",
"passport-jwt": "4.0.1",
"pg": "8.11.5",
"pg-hstore": "2.3.4",
"redis": "4.7.0",
"sequelize": "6.37.3",
"sequelize-cli": "6.6.2",
"sequelize-typescript": "2.1.6",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"uuid": "9.0.1",
"winston": "3.13.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@faker-js/faker": "8.4.1",
"@types/config": "3.3.4",
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/jest": "29.5.12",
"@types/locale": "0.1.4",
"@types/morgan": "1.9.9",
"@types/node": "20.12.7",
"@types/passport": "1.0.16",
"@types/validator": "13.11.9",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"cross-env": "7.0.3",
"eslint": "7.31.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-import-resolver-alias": "1.1.2",
"eslint-plugin-import": "2.29.1",
"husky": "8.0.3",
"jest": "29.7.0",
"module-alias": "2.2.3",
"nodemon": "3.1.0",
"prettier": "3.2.5",
"supertest": "6.3.4",
"ts-jest": "29.1.2",
"tslint": "6.1.3"
}
}