This repository was archived by the owner on Jul 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.13 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
{
"name": "@telegram-auth/server",
"version": "1.0.4",
"description": "Zero dependency package to validate data received from Telegram Login Widget",
"keywords": [
"telegram",
"bot",
"login",
"widget",
"server",
"validate",
"validation",
"security"
],
"author": "Manzoor Wani <contact@manzoorwani.dev>",
"homepage": "https://github.com/manzoorwanijk/telegram-auth/tree/main/packages/server",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js"
}
},
"typesVersions": {
"*": {
"utils": [
"./dist/cjs/utils/index.d.ts"
]
}
},
"files": [
"dist",
"src"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/manzoorwanijk/telegram-auth.git",
"directory": "packages/server"
},
"bugs": {
"url": "https://github.com/manzoorwanijk/telegram-auth/issues"
},
"clean-package": "../../config/clean-package.json",
"scripts": {
"build": "pnpm build:ts",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --moduleResolution node --outDir dist/cjs",
"build:docs": "typedoc",
"build:esm": "tsc --project ./tsconfig.build.json",
"build:ts": "pnpm build:esm && pnpm build:cjs",
"clean": "rimraf dist .turbo",
"dev": "tsc --watch",
"postpack": "clean-package restore",
"prepack": "clean-package",
"prepublishOnly": "pnpm build",
"test": "pnpm run test:node && pnpm run test:cf",
"test:cf": "jest --env=miniflare",
"test:node": "jest --env=node",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit",
"version": "pnpm build:docs"
},
"devDependencies": {
"@telegram-auth/jest": "workspace:*",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.9",
"clean-package": "^2.2.0",
"typedoc": "^0.25.2",
"typedoc-plugin-markdown": "^3.16.0",
"typedoc-plugin-mdn-links": "^3.1.0",
"typescript": "^5.2.2"
}
}