-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
148 lines (148 loc) · 4.59 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "how2get-bot",
"version": "1.0.0",
"description": "How to get? - Telegram bot",
"main": "src/index.ts",
"keywords": [
"How to get?",
"Telegram bot",
"Telegraf"
],
"engines": {
"node": ">= 18.12.0"
},
"scripts": {
"dev": "ts-node prebuild.ts && better-npm-run dev",
"prod": "better-npm-run prod",
"build:dev": "ts-node prebuild.ts && better-npm-run build:dev",
"build:prod": "better-npm-run build:prod",
"build:bundle-analyzer": "better-npm-run build:bundle-analyzer",
"ts": "tsc --noEmit",
"ts:watch": "tsc --noEmit --watch",
"lint": "eslint . --ext .js,.ts --no-eslintrc --config .eslintrc.core.js",
"lint:fix": "eslint . --ext .js,.ts --fix --no-eslintrc --config .eslintrc.core.js",
"prettier": "prettier --write \"src/**/*.{ts,json}\"",
"prettier:check": "prettier --check \"src/**/*.{ts,json}\"",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"betterScripts": {
"dev": {
"command": "webpack --progress --watch --color",
"env": {
"NODE_ENV": "development",
"TS_NODE_FILES": true,
"WATCH_MODE": true,
"TS_NODE_COMPILER_OPTIONS": "{\"target\": \"es6\", \"module\": \"commonjs\"}"
}
},
"prod": {
"command": "webpack --progress --color && node dist/app.server.js",
"env": {
"NODE_ENV": "production",
"TS_NODE_FILES": true,
"WATCH_MODE": false,
"NODE_OPTIONS": "--max-old-space-size=920",
"TS_NODE_COMPILER_OPTIONS": "{\"target\": \"es6\", \"module\": \"commonjs\"}",
"TS_NODE_TRANSPILE_ONLY": true
}
},
"build:dev": {
"command": "webpack --progress --color",
"env": {
"NODE_ENV": "development",
"TS_NODE_FILES": true,
"WATCH_MODE": false,
"TS_NODE_COMPILER_OPTIONS": "{\"target\": \"es6\", \"module\": \"commonjs\"}"
}
},
"build:prod": {
"command": "webpack --progress --color --stats-error-details",
"env": {
"NODE_ENV": "production",
"TS_NODE_FILES": true,
"WATCH_MODE": false,
"NODE_OPTIONS": "--max-old-space-size=920",
"TS_NODE_COMPILER_OPTIONS": "{\"target\": \"es6\", \"module\": \"commonjs\"}",
"TS_NODE_TRANSPILE_ONLY": true
}
},
"build:bundle-analyzer": {
"command": "webpack --progress --color",
"env": {
"NODE_ENV": "production",
"TS_NODE_FILES": true,
"TS_NODE_COMPILER_OPTIONS": "{\"target\": \"es6\", \"module\": \"commonjs\"}",
"TS_NODE_TRANSPILE_ONLY": true,
"BUNDLE_ANALYZER": true
}
}
},
"dependencies": {
"@aws-sdk/client-s3": "^3.294.0",
"axios": "^1.3.4",
"axios-retry": "^3.4.0",
"chalk": "^4.1.2",
"cheerio": "^1.0.0-rc.12",
"dotenv": "^16.0.3",
"dotenv-cli": "^7.1.0",
"husky": "^8.0.3",
"qs": "^6.11.1",
"telegraf": "^4.12.2",
"telegraf-session-local": "^2.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"upath": "^2.0.1",
"uuid": "^9.0.0",
"winston": "^3.8.2"
},
"author": "How2Get_Team",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.18.9",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@types/dotenv-webpack": "^7.0.3",
"@types/node": "^18.15.3",
"@types/uuid": "^9.0.1",
"@types/webpack-bundle-analyzer": "^4.6.0",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"babel-loader": "^9.1.2",
"better-npm-run": "^0.1.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"dotenv-webpack": "^8.0.1",
"eslint": "^8.36.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-array-any": "^1.0.2",
"eslint-plugin-prettier": "^4.2.1",
"nodemon": "^2.0.21",
"nodemon-webpack-plugin": "^4.8.1",
"prettier": "^2.8.4",
"terser-webpack-plugin": "^5.3.7",
"typegram": "^4.3.0",
"webpack": "^5.76.2",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.0"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"eslint --fix --no-eslintrc --config .eslintrc.core.js"
],
"*.scss": [
"stylelint --fix",
"prettier --write"
]
}
}