-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 2.92 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "bd-number-validator",
"version": "2.0.4",
"description": "Bangladesh mobile number validator with normalization and operator detection, plus an optional zero-config React input (PhoneInputBd) and headless hook. No CSS import, no form library required.",
"author": "Muhammad Rashed <rashedjaman768@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mrashed21/bd-number-validator.git"
},
"bugs": {
"url": "https://github.com/mrashed21/bd-number-validator/issues"
},
"homepage": "https://github.com/mrashed21/bd-number-validator#readme",
"engines": {
"node": ">=16"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"keywords": [
"bangladesh phone validator",
"bd phone validator",
"bd number validator",
"bangladesh mobile validator",
"phone validator bd",
"phone-input-bd",
"react bd phone input",
"react bangladesh input",
"bd phone input",
"bangladesh phone number",
"bd mobile number",
"mobile number validation",
"operator detection",
"react phone component",
"headless phone input",
"bd-number-validator",
"bangla phone validator",
"mrashed21",
"Muhammad Rashed"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./validate": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./react": {
"import": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"require": {
"types": "./dist/react.d.cts",
"default": "./dist/react.cjs"
}
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"validate": [
"./dist/index.d.ts"
],
"react": [
"./dist/react.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
},
"peerDependencies": {
"react": ">=18 <20"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@testing-library/react": "^16.1.0",
"@types/node": "^22.20.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"jsdom": "^25.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.5.1",
"typescript": "^5.3.0",
"vitest": "^2.1.8"
},
"allowScripts": {
"esbuild@0.27.2": true,
"esbuild@0.21.5": true
}
}