-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.53 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 3.53 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "cubeworlds",
"type": "module",
"version": "0.5.0",
"private": true,
"description": "Telegram bot for NFT",
"author": "Vladimir Babin <vovababin@gmail.com>",
"license": "MIT",
"imports": {
"#root/*": "./build/src/*"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"dev": "npm run build:landing && tsx watch src/main.ts",
"tunnel": "ngrok http --domain dominant-annually-lobster.ngrok-free.app 3000",
"xtunnel": "xtunnel http 3000",
"build:bot": "tsc --noEmit false",
"build:frontend": "npm --prefix src/frontend run build && node scripts/check-bundle.mjs",
"build:landing": "tsx scripts/build-landing.ts",
"build:all": "npm run build:bot && npm run build:landing && npm run build:frontend",
"update:bot": "npx npm-check-updates -u && npm install",
"update:frontend": "cd src/frontend && npx npm-check-updates -u && npm install",
"update:all": "npm run update:bot && npm run update:frontend",
"prepare": "npx husky",
"lint": "eslint . --ignore-pattern .github/ --ignore-pattern docs/ --ignore-pattern .superpowers/",
"format": "prettier --write \"**/*.{ts,js,vue,json,css,scss,md}\"",
"format:check": "prettier --check \"**/*.{ts,js,vue,json,css,scss,md}\"",
"start": "tsc && tsx ./src/main.ts",
"start:force": "tsx ./src/main.ts",
"typecheck": "tsc",
"test": "npm run test:backend",
"test:backend": "NODE_ENV=test node --import tsx --test scripts/landing/*.test.ts $(find src -name '*.test.ts' -not -path 'src/frontend/*')",
"test:coverage": "NODE_ENV=test node --import tsx --test --experimental-test-coverage --test-coverage-include='src/**/*.ts' --test-coverage-exclude='src/**/*.test.ts' --test-coverage-exclude='src/frontend/**' $(find src -name '*.test.ts' -not -path 'src/frontend/*')",
"smoke:api": "tsx scripts/smoke-api.ts"
},
"dependencies": {
"@fastify/cors": "^11.3.0",
"@fastify/helmet": "^13.1.1",
"@fastify/middie": "^9.3.4",
"@fastify/multipart": "^10.1.1",
"@fastify/rate-limit": "^11.2.0",
"@fastify/static": "^10.1.3",
"@grammyjs/auto-chat-action": "0.1.1",
"@grammyjs/auto-retry": "^2.0.2",
"@grammyjs/hydrate": "^1.7.0",
"@grammyjs/i18n": "1.1.2",
"@grammyjs/menu": "^1.5.0",
"@grammyjs/parse-mode": "2.3.0",
"@grammyjs/types": "5.0.0",
"@telegram-apps/init-data-node": "^2.0.10",
"@ton/core": "^0.63.1",
"@ton/crypto": "^3.3.0",
"@ton/ton": "^16.3.0",
"@typegoose/typegoose": "^13.3.0",
"axios": "^1.16.1",
"callback-data": "1.1.1",
"chatgpt": "^5.2.5",
"dotenv": "17.4.2",
"fastify": "^5.12.3",
"form-data": "^4.0.6",
"grammy": "1.46.0",
"grammy-guard": "0.5.0",
"iso-639-1": "3.1.6",
"jimp": "^1.6.1",
"markdown-table-ts": "^1.0.3",
"mongoose": "^9.7.4",
"node-fetch": "^3.3.2",
"node-graceful-shutdown": "1.1.5",
"pino": "10.3.1",
"pino-pretty": "13.1.3",
"sharp": "^0.35.4",
"tsx": "4.23.13",
"znv": "0.5.0"
},
"devDependencies": {
"@antfu/eslint-config": "^9.5.1",
"@types/node": "^26.5.1",
"eslint": "^10.10.0",
"eslint-config-prettier": "^10.1.8",
"husky": "9.1.7",
"lint-staged": "17.5.0",
"mongodb-memory-server": "^11.2.0",
"prettier": "3.9.6",
"prettier-plugin-organize-imports": "4.3.0",
"tsc-watch": "7.2.1",
"typescript": "6.0.3",
"vite": "^8.2.2"
},
"overrides": {
"axios": "^1.16.1",
"esbuild": "^0.28.1",
"uuid": "^11.1.1",
"valibot": "^1.2.0"
},
"lint-staged": {
"*.ts": "npm run lint"
}
}