UNPKG

@jmt-code/phone-selector

Version:

Beautiful React component for country selection with flag images, phone input validation, and elegant glassmorphism design. Features dynamic mask templates and 150+ countries support.

81 lines (80 loc) 2.08 kB
{ "name": "@jmt-code/phone-selector", "version": "0.1.2", "description": "Beautiful React component for country selection with flag images, phone input validation, and elegant glassmorphism design. Features dynamic mask templates and 150+ countries support.", "keywords": [ "react", "phone-input", "country-selector", "flag-images", "dial-code", "phone-validation", "glassmorphism", "typescript", "mask-input", "international-phone", "country-flags", "form-component" ], "author": { "name": "Juan Manuel", "url": "https://github.com/Jmt-code" }, "license": "MIT", "homepage": "https://github.com/Jmt-code/phone_selector#readme", "repository": { "type": "git", "url": "https://github.com/Jmt-code/phone_selector.git" }, "bugs": { "url": "https://github.com/Jmt-code/phone_selector/issues" }, "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./styles.css": "./dist/styles.css" }, "files": [ "dist" ], "sideEffects": [ "dist/styles.css" ], "scripts": { "build": "tsup", "postbuild": "shx cp src/styles.css dist/styles.css", "clean": "rimraf dist", "dev": "tsup --watch", "play": "cd playground && vite", "play:build": "cd playground && vite build", "typecheck": "tsc --noEmit", "test": "vitest run" }, "peerDependencies": { "react": ">=17", "react-dom": ">=17" }, "devDependencies": { "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "react": "^18.3.1", "react-dom": "^18.3.1", "@vitejs/plugin-react": "^4.3.1", "vite": "^5.4.6", "rimraf": "^6.0.1", "shx": "^0.3.4", "tsup": "^8.1.0", "typescript": "^5.6.2", "vitest": "^2.0.5" }, "publishConfig": { "access": "public" } }