-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
77 lines (77 loc) · 2 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
{
"name": "@telegram-auth/react",
"version": "1.0.4",
"description": "React component to display Telegram Login Widget",
"keywords": [
"telegram",
"bot",
"login",
"widget",
"react"
],
"author": "Manzoor Wani <[email protected]>",
"homepage": "https://github.com/manzoorwanijk/telegram-auth/tree/main/packages/react",
"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"
}
},
"files": [
"dist",
"src"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/manzoorwanijk/telegram-auth.git",
"directory": "packages/react"
},
"bugs": {
"url": "https://github.com/manzoorwanijk/telegram-auth/issues"
},
"clean-package": "../../config/clean-package.json",
"peerDependencies": {
"react": ">=18"
},
"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": "jest",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit",
"version": "pnpm build:docs"
},
"devDependencies": {
"@telegram-auth/jest": "workspace:*",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.6",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"clean-package": "^2.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typedoc": "^0.25.2",
"typedoc-plugin-markdown": "^3.16.0",
"typedoc-plugin-mdn-links": "^3.1.0",
"typescript": "^5.2.2"
}
}