Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.05 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
{
"name": "grammy-inline-menu",
"version": "9.3.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": "grammy-inline-menu-npm-package@edjopato.de",
"url": "https://EdJoPaTo.de"
},
"scripts": {
"build": "rm -rf ./dist && tsc",
"prepack": "npm run build",
"start": "tsc --sourceMap && node --enable-source-maps dist/examples/main.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.40.0"
},
"devDependencies": {
"@types/node": "^18.17.12",
"c8": "^12.0.0",
"grammy": "^1.40.0",
"typescript": "^6.0.2",
"xo": "^1.2.2"
},
"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"
}
},
{
"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",
"unicorn/prefer-top-level-await": "off"
}
}
]
}