{"_id":"@andrewsantarin/react-intl-tel-input","_rev":"1-6292b031207c579d29ba55e19743f96c","name":"@andrewsantarin/react-intl-tel-input","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@andrewsantarin/react-intl-tel-input","version":"0.0.0","description":"Telephone input component. Rewrite intl-tel-input in React.js.","author":{"name":"patw"},"contributors":[{"name":"Marc Cataford","email":"mcat@riseup.net","url":"https://mcataford.github.io"}],"keywords":["react","react-component","tel","telephone","intl-tel-input","international-telephone-input","phonenumber"],"repository":{"type":"git","url":"https://github.com/patw0929/react-intl-tel-input"},"bugs":{"url":"https://github.com/patw0929/react-intl-tel-input/issues"},"main":"dist/index.js","types":"dist/index.d.ts","peerDependencies":{"react":">15.4.2 <17.0.0","react-dom":">15.4.2 <17.0.0"},"tsd":{"directory":"src/components/__tests__"},"dependencies":{"classnames":"^2.2.5","libphonenumber-js-utils":"^8.10.5","prop-types":"^15.6.1","react-style-proptype":"^3.0.0","underscore.deferred":"^0.4.0"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.2.0","@babel/plugin-proposal-class-properties":"^7.2.1","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.2.0","@babel/preset-react":"^7.0.0","@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","@commitlint/travis-cli":"^8.3.5","@storybook/addon-actions":"4.1.11","@storybook/addon-info":"^4.1.11","@storybook/addon-knobs":"^4.1.11","@storybook/addon-options":"^4.1.11","@storybook/cli":"^4.1.6","@storybook/react":"^4.1.6","@storybook/storybook-deployer":"^2.8.1","@types/gulp":"^4.0.6","@types/jest":"^26.0.0","@types/jquery":"^3.3.38","@types/node":"^14.0.13","@types/react":"^16.9.36","@types/react-dom":"^16.9.8","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-loader":"^8.0.4","babel-plugin-dynamic-import-node":"^2.2.0","babel-plugin-react-docgen":"^2.0.2","babel-plugin-transform-react-remove-prop-types":"^0.4.21","coveralls":"^2.11.9","cross-env":"^6.0.3","css-loader":"^1.0.1","css-modules-require-hook":"^4.0.1","dotenv":"^4.0.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.5.0","eslint":"^5.3.0","eslint-config-airbnb":"~17.1.0","eslint-config-airbnb-base":"~13.1.0","eslint-config-prettier":"^6.10.0","eslint-loader":"^2.1.1","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.11.0","eslint-plugin-security":"^1.3.0","extract-text-webpack-plugin":"^4.0.0-beta.0","file-loader":"^2.0.0","gulp":"^4.0.2","husky":"^4.2.3","identity-obj-proxy":"^3.0.0","image-webpack-loader":"^4.6.0","jasmine-reporters":"^2.2.0","jest":"^23.6.0","jsdom":"^9.2.1","lint-staged":"^3.2.6","mini-css-extract-plugin":"^0.4.5","node-sass":"^4.2.0","optimize-css-assets-webpack-plugin":"^5.0.1","packwatch":"^1.0.0","postcss-safe-parser":"^4.0.1","prettier":"^1.14.2","prettier-eslint":"^9.0.1","react":"^16.4.1","react-dom":"^16.4.1","react-hot-loader":"^1.3.0","rimraf":"2.5.4","sass-loader":"^7.1.0","semantic-release":"^17.0.4","sinon":"^1.17.4","storybook-addon-react-docgen":"^1.0.4","style-loader":"^0.23.1","tsd":"^0.11.0","typescript":"^3.9.5","uglifyjs-webpack-plugin":"^2.0.1","url-loader":"^1.1.2","webpack":"^4.27.1"},"scripts":{"prebuild":"yarn run clean","build":"yarn build:js && yarn build:png && yarn build:css && yarn build:ts","build:js":"cross-env BABEL_ENV=production babel src -d dist","build:png":"cp -r ./src/*.png ./dist","build:css":"node-sass ./src/intlTelInput.scss ./dist/main.css","build:ts":"gulp build:ts","clean":"rimraf dist","start":"start-storybook -p 4000 -c .storybook","deploy":"storybook-to-ghpages --ci","lint":"eslint src *.js","coverage":"yarn run test -- --coverage","coveralls":"cross-env NODE_ENV=development cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"jest src","test:watch":"jest src --watchAll --coverage","test:ts":"tsc --project ./tsconfig.test.json","test:ts-watch":"tsc --watch --project ./tsconfig.test.json","tsd":"tsd","footprint":"yarn build && yarn packwatch","lint:commits":"yarn commitlint --from HEAD --to HEAD --verbose"},"lint-staged":{"linters":{"*.js":["yarn eslint --"],"src/**/*.js":["yarn run test -- --bail --findRelatedTests"]}},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"prettier":{"semi":false,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"engines":{"node":">=6.2.2"},"license":"MIT","licenseText":"The MIT License (MIT)\n\nCopyright (c) 2018-2019 Patrick Wang (patw)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@andrewsantarin/react-intl-tel-input@0.0.0","dist":{"shasum":"359c943c2f1e4a29d0f69915f7ca132666007de9","integrity":"sha512-lO3Tvwq/VRO+vNYT+Br09PgzLfAsYG2zosKboM1WX3GWuZkyEAkQ9JxDIvZ3GrV4shnb/RhodslKqyt2AXqRxg==","tarball":"https://registry.npmjs.org/@andrewsantarin/react-intl-tel-input/-/react-intl-tel-input-0.0.0.tgz","fileCount":31,"unpackedSize":253865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe62Q/CRA9TVsSAnZWagAA9AIP/3RCPbIZM5ugia6uqBj2\nyoSBnHQCyYu5Wa4HnZETu/q3Pu+L0X9usywLsxzbdgVQGkz6sv7/uzeoMSgZ\nsr8v6M7XCLn7xuH0GnP41dY/CQmUOZfx5kQA5kM75mB64RGLl24MNiQ/MPp+\nxFh03gCiEnr8HrU0oN7shgWv1ytlHSoAne7D2fftFrE6Ujv9BLDmz/Nr3xN9\nECSAvFgZ3NEodIwdhEKBSEWmmxmQMwRMDYfjPTj2W450DeiGsP9KjACs4GtO\nYxLk4OoyGSAM5ECSUYYARYcAjJ10QjkChRD09OWhlv1qnrFVl4VHvvS3G8fc\n73QtPRQ92MT52LurfDmXaTynQbbFLUdOF6s53vIU9f4RKRwOwtetGfgXGN5L\nS10eNf7ZP+B66Gu5egAoh938ut3vTu1Os/0SGsAwvaHwTV4zLwIKeXFCQoq0\n6V3ycOMmtE7CemkRBiPNx/OsLMuF+cG5V/Enc1EmymdDvBEeqNMSGBoDlrwR\nUy8PRnmmeJEakAIa7n7P2G11/e6xU1j8y/FaNiCFzgC4A60r01Xn1mlo6iGV\n/CKd41pspx6kIf1w3lk5FcKlk9i2atk5tm7LcseIgo0Iabw+S+6ugzF1rr6e\nF7a+YtLJG8VA7GM/BBO0b1TFzD+1xxZwhUxfHMOWCQEFIxqoxjl2IDrpVtQD\nMwSR\r\n=mAHY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7Z2JbU4U7srk2ZJQFz4JMZ/OU2ezN9IOby889J1cdpAiEAi1SwfFV9QizztDIUWXU3liMb0jPuEj0BkXDHSQnMTKE="}]},"maintainers":[{"name":"andrewsantarin","email":"andrew.santarin@gmail.com"}],"_npmUser":{"name":"andrewsantarin","email":"andrew.santarin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-intl-tel-input_0.0.0_1592484927551_0.3408852859768463"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-18T12:55:27.493Z","0.0.0":"2020-06-18T12:55:27.651Z","modified":"2022-04-04T14:01:53.742Z"},"maintainers":[{"name":"andrewsantarin","email":"andrew.santarin@gmail.com"}],"description":"Telephone input component. Rewrite intl-tel-input in React.js.","keywords":["react","react-component","tel","telephone","intl-tel-input","international-telephone-input","phonenumber"],"repository":{"type":"git","url":"https://github.com/patw0929/react-intl-tel-input"},"contributors":[{"name":"Marc Cataford","email":"mcat@riseup.net","url":"https://mcataford.github.io"}],"author":{"name":"patw"},"bugs":{"url":"https://github.com/patw0929/react-intl-tel-input/issues"},"license":"MIT","readme":"# React-Intl-Tel-Input\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Build Status](https://travis-ci.org/patw0929/react-intl-tel-input.svg)](https://travis-ci.org/patw0929/react-intl-tel-input)\n[![npm version](https://badge.fury.io/js/react-intl-tel-input.svg)](http://badge.fury.io/js/react-intl-tel-input)\n[![Coverage Status](https://coveralls.io/repos/github/patw0929/react-intl-tel-input/badge.svg?branch=master)](https://coveralls.io/github/patw0929/react-intl-tel-input?branch=master)\n[![npm](https://img.shields.io/npm/l/express.svg?maxAge=2592000)]()\n\n[![NPM](https://nodei.co/npm/react-intl-tel-input.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-intl-tel-input/)\n\nRewrite [International Telephone Input](https://github.com/jackocnr/intl-tel-input) in React.js.\n\n\n## Collaborators Wanted!\n\nDue to the long commuting time, I do not have much time to maintain this project often. 😣\n\nSo if anybody else is willing to take on the work of bug fixes, integrating pull requests, etc,\nplease let me know. 🙌\n\nI hope we can maintain the project together, and make this project better! 💪\n\n## Demo & Examples\n\nLive demo: [patw0929.github.io/react-intl-tel-input](https://patw0929.github.io/react-intl-tel-input/)\n\nTo build the examples locally, run:\n\n```bash\nyarn\nyarn start\n```\n\nThen open [`localhost:3000`](http://localhost:3000) in a browser.\n\n\n## Installation\n\nThe easiest way to use react-intl-tel-input is to install it from NPM and include it in your own React build process (using [Webpack](http://webpack.github.io/), etc).\n\n```bash\nyarn add react-intl-tel-input\n```\n\n\n### TypeScript\n\nreact-intl-tel-input ships with official type declarations for TypeScript in NPM package out of the box.\n\n\n## Usage\n\n### JavaScript\n```javascript\nimport IntlTelInput from 'react-intl-tel-input';\nimport 'react-intl-tel-input/dist/main.css';\n\n<IntlTelInput\n  containerClassName=\"intl-tel-input\"\n  inputClassName=\"form-control\"\n/>\n```\n\n### TypeScript\n```tsx\nimport * as IntlTelInput from 'react-intl-tel-input';\nimport 'react-intl-tel-input/dist/main.css';\n\n<IntlTelInput\n  containerClassName=\"intl-tel-input\"\n  inputClassName=\"form-control\"\n/>\n```\n\nIf your `tsconfig.json` contains the following config:\n\n**tsconfig.json**\n```json\n{\n  \"compilerOptions\": {\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n  }\n}\n```\n\n... use the default import workflow instead:\n```tsx\nimport IntlTelInput from 'react-intl-tel-input';\nimport 'react-intl-tel-input/dist/main.css';\n\n<IntlTelInput\n  containerClassName=\"intl-tel-input\"\n  inputClassName=\"form-control\"\n/>\n```\n\n### Properties\n\nPlease see the [Demo Page](https://patw0929.github.io/react-intl-tel-input/)\n\n\n## Development (`src` and the build process)\n\nTo build, watch and serve the examples (which will also watch the component source), run `yarn start`.\n\nYou can prepare a distribution build using `yarn build`.\n\n## Contributing\n\nTo contribute to react-intl-tel-input, clone this repo locally and commit your code on a separate branch. Please write tests for your code, and run the linter before opening a pull-request:\n\n```sh\nyarn test    # if you are enhancing the JavaScript modules\nyarn test:ts # if you are enhancing the TypeScript type declarations\nyarn tsd     # in addition to test:ts, also check that the type declarations work as intended\nyarn lint\n```\n\n## Inspired by\n\n[International Telephone Input](https://github.com/jackocnr/intl-tel-input) - [@jackocnr](https://github.com/jackocnr)\n\n\n## License\n\nMIT\n\nCopyright (c) 2015-2019 patw.\n","readmeFilename":"README.md"}