-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.25 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
{
"name": "telegramapis",
"description": "Node telegram Bot API.",
"version": "2023.11.3",
"author": {
"email": "simonegauli@gmail.com",
"name": "Simone Gauli"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Pnlvfx/telegramapis.git"
},
"keywords": [
"telegram",
"telegram bot",
"telegram bot api",
"bot",
"telegram api"
],
"license": "MIT",
"type": "module",
"main": "./dist/cjs/telegram.js",
"module": "./dist/esm/telegram.js",
"types": "./dist/esm/telegram.d.ts",
"exports": {
".": {
"types": "./dist/esm/telegram.d.ts",
"import": "./dist/esm/telegram.js",
"require": "./dist/cjs/telegram.js"
},
"./express": {
"types": "./dist/esm/express.d.ts",
"import": "./dist/esm/express.js",
"require": "./dist/cjs/express.js"
}
},
"scripts": {
"tsc": "tsc --noEmit true",
"generate:package.json": "tsx ./tools/generate-commonjs-package-json.ts dist/cjs/package.json",
"unused": "tsx ./tools/unused.ts",
"test": "rimraf coverage && jest --coverage",
"lint": "eslint",
"build": "rimraf dist && eslint && npm run build:esm && npm run build:cjs && npm run generate:package.json",
"build:esm": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.build.json --module CommonJS --moduleResolution Node --outDir dist/cjs",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/eslint__js": "^8.42.3",
"@types/express": "^5.0.0",
"@types/node": "^22.9.0",
"dotenv": "^16.4.5",
"eslint": "^9.14.0",
"eslint-plugin-sonarjs": "^2.0.4",
"eslint-plugin-unicorn": "^56.0.0",
"express": "^5.0.1",
"form-data": "^4.0.1",
"husky": "^9.1.6",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0"
},
"peerDependencies": {
"coraline": "github:Pnlvfx/coraline",
"express": "*",
"form-data": "^4.0.1"
},
"peerDependenciesMeta": {
"express": {
"optional": true
}
}
}