-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 3.04 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
{
"name": "dzelda-backend",
"version": "1.0.0",
"description": "Backend of Dzelda: A free and open source language learning site.",
"main": "build/src/main.js",
"type": "module",
"scripts": {
"pretest": "npm run migrate",
"test": "npx vitest --no-watch",
"compile": "npx swc src/ -d ./build/ && npx swc tests/ -d ./build/ && npx swc devtools/ -d ./build/",
"clean": "rm -rf ./build/* && npm run compile",
"premake-migrations": "npm run clean",
"make-migrations": "mikro-orm migration:create",
"premigrate": "npm run clean",
"migrate": "mikro-orm migration:up",
"prefresh": "npm run clean",
"fresh": "mikro-orm migration:fresh && npm run seed",
"predrop": "npm run clean",
"drop": "mikro-orm schema:drop --run",
"dev": "env-cmd -f ./env/dev.env concurrently -k \"tsx --watch ./src/main.ts\" \"tsx --watch ./src/workers/parseNewTextWorker.ts\" -n \"backend,parse-text-worker\"",
"prod": "node ./build/src/main.js",
"seed": "tsx devtools/seeders/DatabaseSeeder.ts",
"dump": "tsx devtools/dumpers/DatabaseDumper.ts",
"type-check": "vue-tsc --noEmit -p tsconfig.json --composite false"
},
"author": "squivix <[email protected]> (https://github.com/squivix)",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-s3": "^3.489.0",
"@aws-sdk/s3-presigned-post": "^3.489.0",
"@fastify/cors": "^8.3.0",
"@fastify/helmet": "^11.1.1",
"@fastify/one-line-logger": "^1.0.0",
"@fastify/rate-limit": "^9.1.0",
"@fastify/static": "^7.0.1",
"@google-cloud/text-to-speech": "^5.1.0",
"@mikro-orm/core": "6.1.6",
"@mikro-orm/postgresql": "6.1.6",
"amqplib": "^0.10.4",
"aws-sdk": "^2.1533.0",
"bcrypt": "^5.1.1",
"concurrently": "^8.2.2",
"dzelda-common": "github:squivix/dzelda-common#v1.21.1",
"fastify": "4.23.0",
"fs-extra": "^11.1.0",
"http-status-codes": "^2.2.0",
"mime-types": "^2.1.35",
"nodemailer": "^6.9.4",
"pretty-bytes": "^6.1.1",
"url-join": "^5.0.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@mikro-orm/cli": "6.1.6",
"@mikro-orm/migrations": "6.1.6",
"@mikro-orm/seeder": "6.1.6",
"@swc/cli": "0.3.10",
"@swc/core": "1.4.6",
"@types/amqplib": "^0.10.5",
"@types/bcrypt": "^5.0.0",
"@types/cli-progress": "^3.11.0",
"@types/fs-extra": "^11.0.1",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.12.7",
"@types/nodemailer": "^6.4.9",
"@types/prompts": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@vue/tsconfig": "^0.4.0",
"cli-progress": "^3.12.0",
"depcheck": "^1.4.3",
"env-cmd": "^10.1.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"prompts": "^2.4.2",
"tsx": "^3.12.7",
"typescript": "^5.4.5",
"vite": "^5.1.4",
"vitest": "^1.3.1",
"vue-tsc": "^1.8.6"
},
"mikro-orm": {
"configPaths": [
"./src/mikro-orm.config.ts",
"./build/src/mikro-orm.config.js"
]
}
}