kg-react-phone-field
Version:
Este código define un componente React llamado `SelectPhoneNumber` que renderiza un menú desplegable para seleccionar un número de teléfono. El componente usa la biblioteca `react-select` si asi se desea para crear el menú desplegable. Toma varias propie
84 lines (83 loc) • 1.88 kB
JSON
{
"version": "0.0.6",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"repository": {
"type": "git",
"url": "https://github.com/kevinShogun/kg-react-phone-field"
},
"keywords": [
"react",
"react-component",
"react-phone-number-input",
"phone",
"phone-number",
"phone-field",
"phone-input",
"phone-number-input",
"react-phone-field",
"react-phone-input"
],
"name": "kg-react-phone-field",
"author": "Kevin Garcia",
"module": "dist/kg-react-phone-field.esm.js",
"size-limit": [
{
"path": "dist/kg-react-phone-field.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/kg-react-phone-field.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^9.0.0",
"@types/lodash": "^4.14.199",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"husky": "^8.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"size-limit": "^9.0.0",
"tsdx": "^0.14.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"dependencies": {
"react-phone-number-input": "^3.3.6",
"react-select": "^5.7.5"
}
}