forked from MemePlexPics/memeplex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.93 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "memeplex",
"version": "1.0.0",
"description": "MemePlex is a search engine for memes with a focus on Russian underground Telegram / это поисковая система для мемов нижнего Телеграма",
"main": "services/memesearch.ts",
"scripts": {
"lint": "eslint services/ scripts/ utils/ constants/ --fix",
"init": "npm install && npm --prefix ./frontend install && mkdir -p logs data/{media,avatars,elastic,grafana,loki,mysql,promtail,rabbitmq,nlp} backup/elastic && cp -n .env.example .env && cp -n .mysql.env.example .mysql.env",
"build:back": "npx webpack --progress",
"build:front": "npm --prefix ./frontend run build",
"build:all": "npm run build:back && npm run build:front",
"pretty": "npx prettier --write ./{db,scripts,utils,services,tests,constants,frontend/src}",
"migrations": "npx drizzle-kit",
"drizzle:check-api-changes": "npm run migrations up",
"migrations:run": "npx tsx scripts/db-migrate.ts",
"migrations:generate": "npm run drizzle:check-api-changes && npm run migrations check && npm run migrations generate",
"migrations:down": "npm run migrations drop",
"migrations:pull-schema": "npm run migrations introspect",
"service:memesearch": "node ./dist/memesearch.js",
"service:web": "node ./dist/web.js",
"service:publisher": "node ./dist/tgPublisherBot.js",
"service:pics": "node ./dist/tgPicsBot.js",
"test": "ENVIRONMENT=TESTING npx jest"
},
"author": "klntsky",
"license": "ISC",
"dependencies": {
"@elastic/elasticsearch": "^8.11.3",
"@foile/crypto-pay-api": "^1.0.4",
"@telegraf/session": "^2.0.0-beta.7",
"amqplib": "^0.10.3",
"axios": "^1.6.3",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.31.2",
"express": "^4.18.2",
"form-data": "^4.0.0",
"imghash": "^0.0.9",
"mysql2": "^3.7.0",
"ocr-space-api-wrapper": "^2.3.0",
"socks-proxy-agent": "^8.0.2",
"telegraf": "^4.16.3",
"telegraf-ratelimit": "^2.0.0",
"tsx": "^4.7.1",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/amqplib": "^0.10.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.29",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@typescript-eslint/utils": "^7.13.0",
"@vishtar/telegram-test-api": "^4.2.3",
"@webpack-cli/generators": "^3.0.7",
"copy-webpack-plugin": "^12.0.2",
"drizzle-kit": "^0.22.6",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-drizzle": "^0.2.3",
"jest": "^29.7.0",
"prettier": "^3.3.1",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"peerDependencies": {
"kysely": "^0.27.2"
},
"jest": {
"testMatch": [
"**/tests/**/*.test.ts"
],
"preset": "ts-jest",
"testEnvironment": "node",
"maxWorkers": "1"
}
}