forked from ratmirslv/pastvu-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.66 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
{
"name": "pastvu-bot",
"version": "1.1.1",
"description": "Get historical photos in Pastvu",
"main": "index.js",
"engines": {
"node": ">=18.16.0"
},
"scripts": {
"prebuild": "rimraf ./build/*",
"build": "tsc && npm run copyFiles",
"start": "cross-env NODE_ENV=production node build/index.js",
"dev": "npm run copyFiles && tsc-watch --onSuccess \"cross-env NODE_ENV=development DEBUG=telegraf:* node build/index.js\"",
"validate": "npm run check-format && npm run check-types && npm run lint",
"check-format": "prettier src \"*{js,json}\" --check",
"lint": "eslint --ext .js,.ts src",
"check-types": "tsc --noEmit",
"copyFiles": "copyfiles --error --up 1 ./db/*.* ./build/db && copyfiles --error --up 1 ./src/i18n/locales/*.* ./build"
},
"author": "Ratmir Aitov <[email protected]>",
"license": "ISC",
"simple-git-hooks": {
"pre-commit": "npx pretty-quick --staged"
},
"dependencies": {
"cross-env": "^7.0.3",
"dotenv-safe": "^8.2.0",
"lodash": "^4.17.21",
"node-fetch": "^2.6.11",
"telegraf": "^4.12.2",
"telegraf-i18n": "^6.6.0",
"telegraf-session-local": "^2.1.1"
},
"devDependencies": {
"@babel/preset-typescript": "^7.21.5",
"@types/lodash": "^4.14.195",
"@types/node": "^20.2.5",
"@types/node-fetch": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"copyfiles": "^2.4.1",
"eslint": "^8.41.0",
"eslint-plugin-import": "^2.27.5",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.8.1",
"tsc-watch": "^6.0.4",
"typescript": "^5.0.4"
}
}