-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 1.96 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
{
"name": "telegraf-bot",
"type": "module",
"version": "1.0.0",
"description": "Telegram bot using telegraf",
"author": "M4ss1ck",
"license": "MIT",
"main": "./dist/main.js",
"scripts": {
"start": "tsc -p ./tsconfig.json && node -r dotenv/config ./dist/main.js",
"build": "tsc -p ./tsconfig.json",
"validate": "prisma validate",
"db-pull": "prisma db pull",
"generate": "prisma generate",
"seed": "prisma generate && prisma db push && prisma db seed",
"studio": "prisma studio",
"watch": "tsc-watch --noClear -p ./tsconfig.json --onSuccess \"node -r dotenv/config ./dist/main.js\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"extract": "node extract.js"
},
"dependencies": {
"@prisma/client": "^5.2.0",
"@telegraf/entity": "^0.4.0",
"axios": "^0.25.0",
"cheerio": "^1.0.0-rc.10",
"dotenv": "^10.0.0",
"expr-eval": "^2.0.2",
"fast-csv": "^4.3.6",
"i18next": "^22.5.0",
"i18next-fs-backend": "^2.1.2",
"jimp": "^0.16.2",
"jsqr": "^1.4.0",
"pg": "^8.7.3",
"qrcode": "^1.5.1",
"sharp": "^0.32.1",
"telegraf": "^4.11.2",
"twig": "^1.15.4",
"urban-dictionary-client": "^3.1.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.27.0",
"@types/node": "^18.7.18",
"@types/qrcode": "^1.5.0",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.8.0",
"i18n-extract": "^0.6.7",
"nodemon": "^2.0.19",
"prisma": "^5.2.0",
"tsc-watch": "^5.0.3",
"typescript": "^4.8.3"
},
"prisma": {
"seed": "node prisma/seed.js"
},
"eslintConfig": {
"extends": [
"@antfu",
"prettier"
],
"rules": {
"no-console": "off",
"no-restricted-syntax": [
"error",
{
"selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]",
"message": "Unexpected property on console object was called"
}
]
}
}
}