forked from 1inch/shieldy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
87 lines (87 loc) · 3.02 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
{
"name": "captcha_bot",
"version": "1.0.0",
"description": "Telegram anti-spam bot",
"main": "dist/index.js",
"repository": "https://github.com/backmeupplz/shieldy",
"author": "backmeupplz",
"license": "MIT",
"private": false,
"scripts": {
"distribute": "(yarn build-ts || true) && concurrently -k -p \"[{name}]\" -n \"Bot,Kicker,Deleter\" -c \"yellow.bold,cyan.bold,blue.bold\" \"yarn start-bot\" \"yarn start-kicker\" \"yarn start-deleter\"",
"develop": "concurrently -i -k -p \"[{name}]\" -n \"Bot,Kicker,Deleter,TypeScript\" -c \"yellow.bold,blue.bold,green.bold,cyan.bold\" \"yarn watch-js-bot\" \"yarn watch-js-kicker\" \"yarn watch-js-deleter\" \"yarn watch-ts\"",
"build-ts": "tsc --skipLibCheck",
"watch-ts": "tsc -w --skipLibCheck",
"watch-js-bot": "nodemon --inspect dist/index.js",
"watch-js-kicker": "nodemon dist/kickChecker.js",
"watch-js-deleter": "nodemon dist/messageDeleter.js",
"start-bot": "node --max-old-space-size=12000 dist/index.js",
"start-kicker": "node --max-old-space-size=4000 dist/kickChecker.js",
"start-deleter": "node dist/messageDeleter.js",
"upload-translations": "node scripts/upload.js",
"download-translations": "node scripts/download.js && yarn prettier --single-quote --no-semi --write ./src/helpers/localizations.ts",
"lint": "eslint src",
"test": "jest",
"precommit": "pretty-quick --staged && lint-staged -v",
"prepare": "husky install"
},
"dependencies": {
"@types/axios": "^0.14.0",
"@types/dotenv": "^8.2.0",
"@types/lodash": "^4.14.165",
"@types/node": "^14.11.10",
"axios": "^0.21.1",
"concurrently": "^5.3.0",
"dotenv": "^8.2.0",
"eslint-plugin-local-rules": "^1.1.0",
"intl-messageformat": "9.11.1",
"lodash": "^4.17.20",
"module-alias": "^2.2.2",
"mongodb": "^4.0.1",
"pofile": "^1.1.2",
"sharp": "^0.26.3",
"svg-captcha": "^1.4.0",
"tall": "^3.1.0",
"telegraf": "git+https://github.com/backmeupplz/telegraf.git#ccef1dc6c811359d4d36667b57237bfba74841b1",
"telegram-typings": "^5.0.0",
"typescript": "^4.3.5"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^26.0.24",
"@types/mongodb": "^3.6.20",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"babel-jest": "^27.2.4",
"eslint": "^7.30.0",
"eslint-plugin-jest": "^24.4.0",
"flat": "^5.0.2",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.0.0",
"nodemon": "^2.0.5",
"prettier": "2.3.2",
"pretty-quick": "^3.1.1",
"ts-node": "^10.1.0",
"typegram": "^3.4.1"
},
"_moduleAliases": {
"@root": "dist",
"@commands": "dist/commands",
"@helpers": "dist/helpers",
"@middlewares": "dist/middlewares",
"@models": "dist/models"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && lint-staged"
}
},
"lint-staged": {
"*.+(js|ts)": [
"eslint"
]
}
}