-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpackage.json
103 lines (103 loc) · 2.5 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
{
"name": "grammy-inline-menu",
"version": "9.2.0",
"description": "Inline Menus for Telegram made simple. Successor of telegraf-inline-menu.",
"keywords": [
"grammY",
"Telegram",
"keyboard",
"inline",
"button",
"menu",
"stateless",
"middleware",
"telegraf-inline-menu"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/EdJoPaTo/grammy-inline-menu.git"
},
"bugs": {
"url": "https://github.com/EdJoPaTo/grammy-inline-menu/issues"
},
"homepage": "https://github.com/EdJoPaTo/grammy-inline-menu#readme",
"author": {
"name": "EdJoPaTo",
"email": "[email protected]",
"url": "https://EdJoPaTo.de"
},
"scripts": {
"build": "del-cli dist && tsc",
"prepack": "npm run build",
"preexample-js": "npm run build",
"example-js": "node examples/main-javascript.mjs",
"start": "tsc --sourceMap && node --enable-source-maps dist/examples/main-typescript.js",
"test": "tsc --sourceMap && xo && c8 --all node --test --enable-source-maps"
},
"type": "module",
"engines": {
"node": ">=18"
},
"dependencies": {
"type-fest": "^4.0.0"
},
"peerDependencies": {
"grammy": "^1.31.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^7.0.0",
"@types/node": "^18.17.12",
"c8": "^10.1.2",
"del-cli": "^6.0.0",
"grammy": "^1.31.0",
"typescript": "^5.7.2",
"xo": "^0.60.0"
},
"files": [
"dist/source",
"!*.test.*",
"!test.*"
],
"main": "./dist/source/index.js",
"types": "./dist/source/index.d.ts",
"xo": {
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "error",
"unicorn/prevent-abbreviations": "off"
},
"overrides": [
{
"files": [
"examples/**/*.*js"
],
"rules": {
"camelcase": "off",
"dot-notation": "off"
}
},
{
"files": [
"examples/**/*.*",
"**/*.test.*",
"**/test.*",
"test/**/*.*"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"max-params": "off",
"n/no-unsupported-features/es-syntax": "off",
"n/no-unsupported-features/node-builtins": "off",
"unicorn/prefer-top-level-await": "off"
}
}
]
}
}