react-intl-tel-input
Version:
Telephone input component. Rewrite intl-tel-input in React.js.
147 lines (146 loc) • 4.5 kB
JSON
{
"name": "react-intl-tel-input",
"version": "8.2.0",
"description": "Telephone input component. Rewrite intl-tel-input in React.js.",
"author": "patw",
"workspaces": [
"website"
],
"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"
},
"files": [
"dist/**/*"
],
"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",
"@types/jquery": "^3.5.6",
"@types/node": "^14.0.13",
"@types/react": "^16.9.56",
"@types/react-dom": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"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",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.5.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "~17.1.0",
"eslint-config-airbnb-base": "~13.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.23.4",
"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",
"husky": "^4.2.3",
"identity-obj-proxy": "^3.0.0",
"jasmine-reporters": "^2.2.0",
"jest": "^23.6.0",
"jsdom": "^9.2.1",
"lint-staged": "^11.1.1",
"packwatch": "^1.0.0",
"prettier": "^1.14.2",
"prettier-eslint": "^9.0.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "2.5.4",
"sass": "^1.37.4",
"semantic-release": "^17.0.4",
"sinon": "^1.17.4",
"typescript": "^4.4.3"
},
"scripts": {
"prebuild": "yarn run clean",
"build": "yarn compile:js && yarn compile:dts && yarn compile:css && yarn compile:png",
"compile:js": "BABEL_ENV=production babel src -d dist",
"compile:dts": "rsync -avh --include='*/' --include='*.d.ts' --exclude='*' src/ dist --prune-empty-dirs",
"compile:css": "sass ./src/intlTelInput.scss ./dist/main.css",
"compile:png": "cp -r -v ./src/*.png ./dist",
"clean": "rimraf dist",
"website:start": "yarn workspace website run start",
"website:dryrun": "yarn workspace website run deploy:dryrun",
"website:deploy": "yarn workspace website run deploy",
"lint": "eslint src website/.storybook --ext .js,.d.ts",
"coverage": "yarn test --coverage",
"coverage-upload": "NODE_ENV=development cat coverage/lcov.info | yarn coveralls",
"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",
"footprint": "yarn build && yarn packwatch",
"lint:commits": "yarn commitlint --from HEAD --to HEAD --verbose"
},
"lint-staged": {
"*.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": "all"
},
"engines": {
"node": ">=6.14.14"
},
"license": "MIT"
}