-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 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
{
"name": "backend",
"version": "1.0.0",
"main": "./out/source/main.js",
"dependencies": {
"bcrypt": "^5.1.1",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"jsonwebtoken": "^9.0.2",
"pg": "^8.13.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/bcrypt": "^5.0.2",
"@types/eslint-config-prettier": "^6.11.3",
"@types/express": "^4.0.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.8.1",
"@types/pg": "^8.11.10",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"typescript-eslint": "^8.11.0"
},
"scripts": {
"clean": "rm -rf ./out",
"format": "prettier --write .",
"lint": "eslint source && tsc --noEmit",
"prebuild": "npm run clean && npm run format && npm run lint",
"build": "tsc",
"db-out": "pg_dump --host=localhost --port=5432 --username=UYikamacim --verbose --dbname=DYikamacim --format=plain --blobs --file=./dumps/db/db_dump.sql",
"db-in": "psql --host=rds-yikamacim.czggso0ksewe.eu-central-1.rds.amazonaws.com --port=5432 --username=UYikamacim --dbname=postgres --command=\"DROP DATABASE IF EXISTS \\\"DYikamacim\\\";\" && psql --host=rds-yikamacim.czggso0ksewe.eu-central-1.rds.amazonaws.com --port=5432 --username=UYikamacim --dbname=postgres --command=\"CREATE DATABASE \\\"DYikamacim\\\";\" && psql --host=rds-yikamacim.czggso0ksewe.eu-central-1.rds.amazonaws.com --port=5432 --username=UYikamacim --dbname=DYikamacim --file=./dumps/db/db_dump.sql",
"start-devt": "node ./out/main.js",
"start-prod": "pm2 start ./out/main.js -- --production",
"stop-prod": "pm2 stop ./out/main.js"
}
}