-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.02 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
{
"name": "telegramapis",
"description": "Node telegram Bot API.",
"version": "2023.10.4",
"author": {
"email": "simonegauli@gmail.com",
"name": "Simone Gauli"
},
"main": "./dist/esm/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./*": {
"import": "./*",
"require": "./*"
}
},
"type": "module",
"license": "MIT",
"keywords": [
"telegram",
"telegram bot",
"telegram bot api",
"bot",
"telegram api"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Pnlvfx/telegramapis.git"
},
"scripts": {
"generate:package.json": "tsx ./tools/generate-commonjs-package-json.ts dist/cjs/package.json",
"dev": "tsc -w --outDir dist/esm & node --env-file .env --watch .",
"start": "node .",
"lint": "eslint ./src",
"build": "rimraf dist && npm run lint && npm run build:esm && npm run build:cjs && npm run generate:package.json",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --moduleResolution node --outDir dist/cjs",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --verbose --coverage"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unicorn": "^51.0.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
},
"peerDependencies": {
"form-data": "^4.0.0"
}
}