generated from EmrecanKaracayir/GFA.server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.75 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
{
"name": "sotp.server",
"version": "0.0.1",
"description": "SOTP.server",
"main": "dist/main.js",
"author": "EmrecanKaracayir",
"license": "PROPRIETARY",
"scripts": {
"lint": "eslint src --ext ts && tsc --noEmit",
"format": "prettier --write .",
"clean": "rm -rf ./dist",
"prebuild": "npm run clean && npm run format && npm run lint",
"build": "tsc",
"dev": "tsc --watch",
"dbOut": "pg_dump --host=localhost --port=5432 --username=USOTP --no-password --dbname=DSOTP --create --large-objects --file=./dumps/db.sql",
"dbIn": "psql --host=rds-sotp-database.czggso0ksewe.eu-central-1.rds.amazonaws.com --port=5432 --username=USOTP --dbname=postgres --command=\"DROP DATABASE IF EXISTS \\\"DSOTP\\\";\" && psql --host=rds-sotp-database.czggso0ksewe.eu-central-1.rds.amazonaws.com --port=5432 --username=USOTP --dbname=postgres --file=./dumps/db.sql",
"prepareDevEnv": "npm run dbOut && cp -rf ./src/env/dev/* ./src/ && npm run build",
"startDev": "node ./dist/main.js",
"prepareLiveEnv": "npm run dbIn && cp -rf ./src/env/live/* ./src/ && npm run build",
"startLive": "pm2 start ./dist/main.js",
"stopLive": "pm2 stop ./dist/main.js"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.11.8",
"@types/pg": "^8.11.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
},
"dependencies": {
"bcrypt": "^5.1.1",
"crypto": "^1.0.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.2",
"pg": "^8.11.3",
"shamir-secret-sharing": "^0.0.3"
}
}