UNPKG

react-international-phone

Version:

☎️ International phone input component for React

152 lines (151 loc) 5.06 kB
{ "name": "react-international-phone", "version": "4.6.0", "description": "☎️ International phone input component for React", "keywords": [ "react", "phone", "input", "international", "format", "number", "tel", "telephone", "react-component", "phone-input", "react-phone", "react-international-phone" ], "private": false, "author": "Yurii Brusentsov <yuriybrusentsov@gmail.com>", "license": "MIT", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./style.css": "./dist/index.css" }, "types": "./dist/index.d.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "files": [ "dist/**/*" ], "scripts": { "cm": "cz", "build": "tsup && tsc --emitDeclarationOnly", "test": "jest", "test-storybook": "test-storybook", "test:coverage": "jest --coverage", "storybook": "storybook dev -p 6006", "storybook:build": "storybook build", "storybook:preview": "npx http-server ./storybook-static", "storybook-test:chrome": "npx playwright test ./.storybook/browser.test --headed --browser=chromium", "storybook-test:firefox": "npx playwright test ./.storybook/browser.test --headed --browser=firefox", "storybook-test:safari": "npx playwright test ./.storybook/browser.test --headed --browser=webkit", "lint": "pnpm lint:ts && pnpm lint:scss", "lint:ts": "eslint ./src --ext .ts,.tsx --config .eslintrc", "lint:scss": "stylelint \"**/*{.css,.scss}\" --custom-syntax postcss-scss", "format": "prettier --write .", "format:check": "prettier --check .", "prepare": "husky install", "semantic-release": "semantic-release", "docs:dev": "cd packages/docs && pnpm start", "docs:build": "cd packages/docs && pnpm build", "docs:serve": "cd packages/docs && pnpm serve", "docs:test": "pnpm build && pnpm docs:build && pnpm docs:serve" }, "repository": { "type": "git", "url": "git+https://github.com/ybrusentsov/react-international-phone.git" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@chakra-ui/react": "^1.8.9", "@commitlint/cli": "^17.4.1", "@commitlint/config-conventional": "^17.4.0", "@emotion/react": "^11", "@emotion/styled": "^11", "@mui/material": "^5.10.16", "@playwright/test": "^1.27.1", "@semantic-release/changelog": "^6.0.2", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^8.0.6", "@semantic-release/npm": "^9.0.1", "@semantic-release/release-notes-generator": "^10.0.3", "@storybook/addon-controls": "^7.4.1", "@storybook/addon-interactions": "^7.4.1", "@storybook/jest": "^0.2.2", "@storybook/preset-scss": "^1.0.3", "@storybook/react": "^7.4.1", "@storybook/react-vite": "^7.4.1", "@storybook/test-runner": "^0.13.0", "@storybook/testing-library": "^0.2.0", "@swc/core": "^1.3.76", "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.5.1", "@types/google-libphonenumber": "^7.4.24", "@types/jest": "^29.1.1", "@types/node": "^18.8.5", "@types/react": "^18.2.27", "@types/testing-library__jest-dom": "^5.14.5", "@typescript-eslint/eslint-plugin": "^5.49.0", "@typescript-eslint/parser": "^5.49.0", "antd": "^5.0.2", "commitizen": "^4.3.0", "cz-conventional-changelog": "^3.3.0", "esbuild-sass-plugin": "^2.12.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.21.3", "eslint-plugin-react-hooks": "^4.1.2", "eslint-plugin-simple-import-sort": "^8.0.0", "formik": "^2.2.9", "framer-motion": "^6", "google-libphonenumber": "^3.2.33", "husky": "^8.0.1", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^13.0.3", "postcss": "^8.4.21", "postcss-scss": "^4.0.5", "prettier": "^2.7.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hook-form": "^7.41.1", "sass": "^1.55.0", "semantic-release": "^19.0.5", "storybook": "^7.4.1", "stylelint": "^14.13.0", "stylelint-config-idiomatic-order": "^9.0.0", "stylelint-config-prettier": "^9.0.3", "stylelint-config-standard": "^29.0.0", "stylelint-config-standard-scss": "^6.0.0", "stylelint-order": "^5.0.0", "stylelint-prettier": "^2.0.0", "stylelint-scss": "^4.3.0", "ts-jest": "^29.0.3", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", "tsup": "^7.2.0", "typescript": "^4.9.4", "yup": "^0.32.11" }, "publishConfig": { "access": "public" }, "homepage": "https://react-international-phone-docs.vercel.app/" }