-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.77 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.77 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
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "autowebhook",
"version": "3.0.7",
"description": "Automatic ngrok tunnel manager with health checking for webhooks",
"keywords": [
"ngrok",
"webhook",
"tunnel",
"telegram",
"bot",
"typescript",
"bun",
"health-check",
"auto-restart"
],
"author": "rozeraf",
"license": "GPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/rozeraf/autowebhook.git"
},
"bugs": {
"url": "https://github.com/rozeraf/autowebhook/issues"
},
"homepage": "https://github.com/rozeraf/autowebhook#readme",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"lint-staged": {
"*.ts": [
"prettier --check"
]
},
"files": [
"dist",
"README.md",
"API.md",
"EXAMPLES.md",
"CHANGELOG.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0",
"bun": ">=1.0.0"
},
"scripts": {
"build": "bun run build:clean && bun run build:types && bun run build:esm && bun run build:cjs",
"build:types": "tsc --emitDeclarationOnly --outDir dist",
"build:esm": "bun build src/index.ts --outdir dist --target node --format esm --outfile index.js",
"build:cjs": "bun build src/index.ts --outdir dist --target node --format cjs --outfile index.cjs",
"build:clean": "rm -rf dist",
"start": "bun run src/index.ts",
"dev": "bun --watch run examples/basic.ts",
"lint": "tsc --noEmit",
"lint:fix": "tsc --noEmit && bun run format",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"test": "bun test",
"test:watch": "bun test --watch",
"clean": "rm -rf dist node_modules/.cache",
"prepack": "bun run build",
"prepublishOnly": "bun run lint && bun run test && bun run build",
"release:patch": "npm version patch && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:major": "npm version major && git push --follow-tags",
"prepare": "husky install",
"pre-commit-check": "bun run lint && bun run format && bun run test && bun run build"
},
"dependencies": {
"axios": "^1.7.0"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.6",
"prettier": "^3.1.0",
"typescript": "^5.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}