rn-phone-input-field
Version:
A React Native phone number input component built from scratch, featuring a text input for number entry, a custom dropdown for selecting country codes, and validation logic using regex or country-specific rules. It supports formatting, localization, and s
71 lines (70 loc) • 2.22 kB
JSON
{
"name": "rn-phone-input-field",
"version": "1.1.9",
"description": "A React Native phone number input component built from scratch, featuring a text input for number entry, a custom dropdown for selecting country codes, and validation logic using regex or country-specific rules. It supports formatting, localization, and styling, ensuring a seamless and accessible user experience without relying on external libraries.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"lib": "lib",
"example": "example"
},
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"test": "jest",
"lint": "eslint src --ext .ts,.tsx",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"clean": "rimraf src",
"prebuild": "npm run clean"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sohantalukder/rn-phone-input-field.git"
},
"keywords": [
"react-native",
"ios",
"android",
"phone",
"input",
"dropdown",
"phone-number-input",
"phone-number-dropdown",
"react-native-phone-input",
"react-native-phone-number-input",
"react-native-phone-number-dropdown",
"react-native-phone-input-field",
"react-native-phone-number-input-field",
"react-native-phone-input-dropdown",
"react-native-phone-number-input-dropdown",
"react-native-phone-input-component",
"react-native-phone-number-input-component",
"rn-phone-number-field"
],
"author": "Md. Sohan Talukder <mdtalukder.sohan@gmail.com> (https://github.com/sohantalukder)",
"license": "MIT",
"bugs": {
"url": "https://github.com/sohantalukder/rn-phone-input-field/issues"
},
"homepage": "https://github.com/sohantalukder/rn-phone-input-field#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-native": ">=0.60.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/react": "^18.3.22",
"@types/react-native": "^0.72.8",
"eslint": "^8.57.1",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "^4.9.5"
},
"files": [
"dist"
]
}