@input-kit/phone 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@input-kit/phone",
3
- "version": "0.4.1",
4
- "packageManager": "bun@1.3.3",
5
- "description": "Headless phone input with full world country codes, libphonenumber formatting, and TypeScript",
6
- "type": "module",
7
- "main": "./dist/index.cjs",
8
- "module": "./dist/index.js",
9
- "types": "./dist/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "import": {
13
- "types": "./dist/index.d.ts",
14
- "default": "./dist/index.js"
15
- },
16
- "require": {
17
- "types": "./dist/index.d.cts",
18
- "default": "./dist/index.cjs"
19
- }
20
- },
21
- "./package.json": "./package.json"
22
- },
23
- "files": [
24
- "dist",
25
- "README.md",
26
- "LICENSE"
27
- ],
28
- "sideEffects": false,
29
- "repository": {
30
- "type": "git",
31
- "url": "git+https://github.com/harshit-d3v/input-kit-phone.git"
32
- },
33
- "homepage": "https://github.com/harshit-d3v/input-kit-phone#readme",
34
- "bugs": {
35
- "url": "https://github.com/harshit-d3v/input-kit-phone/issues"
36
- },
37
- "scripts": {
38
- "build": "tsup",
39
- "dev": "tsup --watch",
40
- "test": "vitest run",
41
- "test:watch": "vitest",
42
- "typecheck": "tsc --noEmit",
43
- "lint": "eslint src",
44
- "prepublishOnly": "bun run test && bun run typecheck && bun run build"
45
- },
46
- "keywords": [
47
- "react",
48
- "phone",
49
- "input",
50
- "telephone",
51
- "country",
52
- "flag",
53
- "international",
54
- "typescript",
55
- "headless",
56
- "unstyled",
57
- "accessible",
58
- "validation"
59
- ],
60
- "author": "Harshit",
61
- "license": "MIT",
62
- "engines": {
63
- "node": ">=18.0.0"
64
- },
65
- "peerDependencies": {
66
- "react": "^18.0.0 || ^19.0.0",
67
- "react-dom": "^18.0.0 || ^19.0.0"
68
- },
69
- "devDependencies": {
70
- "@testing-library/react": "^16.3.2",
71
- "@types/react": "^18.3.18",
72
- "@types/react-dom": "^18.3.5",
73
- "@vitejs/plugin-react": "^4.3.4",
74
- "jsdom": "^26.0.0",
75
- "react": "^18.3.1",
76
- "react-dom": "^18.3.1",
77
- "tsup": "^8.3.5",
78
- "typescript": "^5.7.3",
79
- "vitest": "^3.0.4",
80
- "@eslint/js": "^9.19.0",
81
- "eslint": "^9.19.0",
82
- "eslint-plugin-react-hooks": "^5.1.0",
83
- "globals": "^15.14.0",
84
- "typescript-eslint": "^8.22.0"
85
- },
86
- "dependencies": {
87
- "libphonenumber-js": "^1.12.41",
88
- "world-countries": "^5.1.0"
89
- }
90
- }
1
+ {
2
+ "name": "@input-kit/phone",
3
+ "version": "0.4.2",
4
+ "packageManager": "bun@1.3.3",
5
+ "description": "Headless phone input with full world country codes, libphonenumber formatting, and TypeScript",
6
+ "type": "module",
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": {
13
+ "types": "./dist/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "require": {
17
+ "types": "./dist/index.d.cts",
18
+ "default": "./dist/index.cjs"
19
+ }
20
+ },
21
+ "./package.json": "./package.json"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "README.md",
26
+ "LICENSE"
27
+ ],
28
+ "sideEffects": false,
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/harshit-d3v/input-kit-phone.git"
32
+ },
33
+ "homepage": "https://github.com/harshit-d3v/input-kit-phone#readme",
34
+ "bugs": {
35
+ "url": "https://github.com/harshit-d3v/input-kit-phone/issues"
36
+ },
37
+ "scripts": {
38
+ "build": "tsup",
39
+ "dev": "tsup --watch",
40
+ "test": "vitest run",
41
+ "test:watch": "vitest",
42
+ "typecheck": "tsc --noEmit",
43
+ "lint": "eslint src",
44
+ "prepublishOnly": "bun run test && bun run typecheck && bun run build"
45
+ },
46
+ "keywords": [
47
+ "react",
48
+ "phone",
49
+ "input",
50
+ "telephone",
51
+ "country",
52
+ "flag",
53
+ "international",
54
+ "typescript",
55
+ "headless",
56
+ "unstyled",
57
+ "accessible",
58
+ "validation"
59
+ ],
60
+ "author": "Harshit",
61
+ "license": "MIT",
62
+ "engines": {
63
+ "node": ">=18.0.0"
64
+ },
65
+ "peerDependencies": {
66
+ "react": "^18.0.0 || ^19.0.0",
67
+ "react-dom": "^18.0.0 || ^19.0.0"
68
+ },
69
+ "devDependencies": {
70
+ "@eslint/js": "^9.19.0",
71
+ "@testing-library/react": "^16.3.2",
72
+ "@types/react": "^18.3.18",
73
+ "@types/react-dom": "^18.3.5",
74
+ "@vitejs/plugin-react": "^4.3.4",
75
+ "eslint": "^9.19.0",
76
+ "eslint-plugin-react-hooks": "^5.1.0",
77
+ "globals": "^15.14.0",
78
+ "jsdom": "^26.0.0",
79
+ "react": "^18.3.1",
80
+ "react-dom": "^18.3.1",
81
+ "tsup": "^8.3.5",
82
+ "typescript": "^5.7.3",
83
+ "typescript-eslint": "^8.22.0",
84
+ "vitest": "^4.1.11"
85
+ },
86
+ "dependencies": {
87
+ "libphonenumber-js": "^1.12.41",
88
+ "world-countries": "^5.1.0"
89
+ }
90
+ }