-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.58 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
{
"name": "infrarays-api",
"version": "0.0.1",
"description": "API for the infrarays project",
"main": "build/index.js",
"engines": {
"node": ">= 14.0.0"
},
"scripts": {
"lint": "ttsc --noEmit && eslint 'src/*/**/*.ts' --fix && prettier --config .prettierrc src --write --loglevel silent && echo '✔️ nice'",
"pretest2": "npm run build-prod -s",
"test": "ENVIRONMENT=test jest",
"prebuild": "npm run lint -s",
"build": "ttsc",
"prestart": "npm run build -s",
"start": "node build/index.js",
"start-dev": "ttsc -w & nodemon build/index.js",
"build-prod": "ttsc",
"docker": "docker-compose up --build --force-recreate --remove-orphans",
"db:migrate": "knex --knexfile src/configs/knexfile.ts migrate:latest",
"db:unmigrate": "source ./.env && psql $PSQL_URI -c \"DROP SCHEMA public CASCADE;CREATE SCHEMA public;GRANT ALL ON SCHEMA public TO infrarays;GRANT ALL ON SCHEMA public TO public;\"",
"db:schema": "source ./.env && schemats generate -c $PSQL_URI -o src/types/database.d.ts -C"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digitalungdom-se/infrarays-api.git"
},
"author": "Kelvin Szolnoky",
"license": "ISC",
"bugs": {
"url": "https://github.com/digitalungdom-se/infrarays-api/issues"
},
"homepage": "https://github.com/digitalungdom-se/infrarays-api#readme",
"dependencies": {
"@sendgrid/mail": "^7.4.2",
"@typegoose/typegoose": "^7.4.8",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-validator": "^6.9.2",
"express-winston": "^4.0.5",
"file-type": "^16.2.0",
"fs-extra": "^9.1.0",
"hasha": "^5.2.2",
"helmet": "^4.4.1",
"jsonwebtoken": "^8.5.1",
"knex": "^0.21.16",
"knex-stringcase": "^1.4.3",
"lodash": "^4.17.20",
"mime-types": "^2.1.28",
"moment": "^2.29.1",
"moment-timezone": "^0.5.32",
"mongodb": "^3.6.3",
"mongoose": "^5.11.14",
"multer": "^1.4.2",
"node-schedule": "^1.3.2",
"pdf-lib": "^1.16.0",
"pdf-parse": "^1.1.1",
"pg": "^8.5.1",
"pg-promise": "^10.9.2",
"redis": "^3.0.2",
"uuid": "^8.3.2",
"validator": "^13.5.2",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.9",
"@types/express": "^4.17.11",
"@types/fs-extra": "^9.0.6",
"@types/helmet": "4.0.0",
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.168",
"@types/mime-types": "^2.1.0",
"@types/moment-timezone": "^0.5.30",
"@types/mongoose": "^5.10.3",
"@types/multer": "^1.4.5",
"@types/node-schedule": "^1.3.1",
"@types/pdf-parse": "^1.1.0",
"@types/pg": "^7.14.9",
"@types/redis": "^2.8.28",
"@types/uuid": "^8.3.0",
"@types/validator": "^13.1.3",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@zerollup/ts-transform-paths": "^1.7.18",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-security": "^1.4.0",
"jest": "^26.6.3",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"schemats": "^3.0.3",
"supertest": "^6.1.3",
"ts-jest": "^26.5.0",
"ts-node": "^9.1.1",
"tslint-eslint-rules": "^5.4.0",
"ttypescript": "^1.5.12",
"typescript": "^4.1.3"
},
"resolutions": {
"schemats/pg-promise": "10.8.1"
}
}