forked from EdJoPaTo/grammy-inline-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.38 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
{
"name": "grammy-inline-menu",
"version": "7.0.2",
"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": "EdJoPaTo/grammy-inline-menu",
"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": "del-cli dist && tsc",
"prepack": "npm run build",
"preexample-js": "npm run build",
"example-js": "node examples/main-javascript.mjs",
"start": "ts-node examples/main-typescript.ts",
"test": "tsc --sourceMap && xo && nyc ava"
},
"type": "commonjs",
"engines": {
"node": ">=14"
},
"dependencies": {
"@grammyjs/types": "^2.2.6"
},
"peerDependencies": {
"grammy": "^1.3.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^3.0.1",
"@types/node": "^14.18.21",
"ava": "^4.0.0",
"del-cli": "^4.0.0",
"grammy": "^1.3.0",
"nyc": "^15.0.0",
"ts-node": "^10.0.0",
"type-fest": "^2.11.2",
"typescript": "^4.4.4",
"xo": "^0.50.0"
},
"files": [
"dist/source",
"!*.test.*"
],
"main": "./dist/source/index.js",
"types": "./dist/source/index.d.ts",
"nyc": {
"all": true,
"include": [
"dist/source",
"source"
],
"reporter": [
"lcov",
"text"
]
},
"xo": {
"semicolon": false,
"rules": {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "error",
"ava/no-ignored-test-files": "off",
"camelcase": "off"
},
"overrides": [
{
"files": [
"examples/**/*.*js"
],
"rules": {
"dot-notation": "off"
}
},
{
"files": [
"examples/**/*.*",
"**/*.test.*",
"test/**/*.*"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"ava/no-skip-test": "warn",
"max-params": "off"
}
}
]
}
}