-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.93 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.93 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
{
"name": "backend-server",
"version": "1.0.0",
"main": "dist/app.js",
"repository": "git@github.com:wasona/backend-server.git",
"author": "AcipenserSturio <AcipenserSturio@users.noreply.github.com>",
"license": "AGPL-3.0-or-later",
"//": {
"argon2": "password hashing",
"cookie-parser": "middleware for cookie parsing",
"cors": "middleware for allowing CORS",
"dotenv": "importing env variables",
"express": "app framework",
"jose": "generating web tokens",
"node-cron": "running scheduled jobs",
"nodemailer": "sending mail",
"pg": "db interaction",
"pg-promise": "asynchronous db interaction",
"phone": "normalise phone numbers to standard form and validate",
"temporal-polyfill": "opt into a (hopefully) future ecmascript standard succeeding Date",
"uuid": "uuid type",
"zod": "schemas for validating types in json",
"tsc-alias": "build step for aliasing paths in imports using @"
},
"dependencies": {
"argon2": "^0.41.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"glob": "^11.0.0",
"jose": "^5.9.4",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.15",
"pg": "^8.12.0",
"pg-promise": "^11.10.1",
"phone": "^3.1.51",
"temporal-polyfill": "^0.2.5",
"toml": "^3.0.0",
"uuid": "^10.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/dotenv": "^8.2.0",
"@types/express": "^5.0.0",
"@types/node": "^22.7.5",
"@types/node-cron": "^3.0.11",
"@types/nodemailer": "^6.4.16",
"@types/uuid": "^10.0.0",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.10",
"typescript": "^5.6.3"
},
"scripts": {
"build": "npm x tsc && npm x tsc-alias",
"dev": "rm -rf ./dist && mkdir ./dist && npm run build && node dist/app.js",
"up": "sudo systemctl restart backend-server.service"
}
}