UNPKG

@finofo/react-international-phone

Version:

☎️ International phone input component for React

163 lines (162 loc) 5.12 kB
{ "name": "@finofo/react-international-phone", "version": "4.8.2", "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", "packageManager": "pnpm@10.5.2", "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 && node scripts/check-bundle-size.mjs", "test": "jest", "test-storybook": "vitest run --project 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", "lint:scss": "stylelint \"**/*{.css,.scss}\" --custom-syntax postcss-scss", "format": "prettier --write .", "format:check": "prettier --check .", "prepare": "husky install", "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/Finofo/react-international-phone.git" }, "bugs": { "url": "https://github.com/Finofo/react-international-phone/issues" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@chakra-ui/react-v2": "npm:@chakra-ui/react@^2.10", "@commitlint/cli": "^20.5.0", "@commitlint/config-conventional": "^20.5.0", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", "@eslint/js": "^10.0.1", "@mui/material": "^9.0.0", "@playwright/test": "^1.59.1", "@radix-ui/react-slot": "^1.2.4", "@storybook/addon-vitest": "^10.3.5", "@storybook/react": "^10.3.5", "@storybook/react-vite": "^10.3.5", "@swc/core": "^1.3.76", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/google-libphonenumber": "^7.4.24", "@types/jest": "^30.0.0", "@types/node": "^25.6.0", "@types/react": "^18.2.27", "@typescript-eslint/eslint-plugin": "^8.58.2", "@typescript-eslint/parser": "^8.58.2", "@vitest/browser-playwright": "^4.1.4", "@vitest/coverage-v8": "^4.1.4", "antd": "^6.3.6", "autoprefixer": "^10.5.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "commitizen": "^4.3.0", "cz-conventional-changelog": "^3.3.0", "esbuild-sass-plugin": "^3.7.0", "eslint": "^10.2.1", "eslint-config-prettier": "^10.1.8", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-simple-import-sort": "^13.0.0", "formik": "^2.4.9", "framer-motion": "^12", "globals": "^17.5.0", "google-libphonenumber": "^3.2.33", "husky": "^9.1.7", "identity-obj-proxy": "^3.0.0", "jest": "^30.3.0", "jest-environment-jsdom": "^30.3.0", "lint-staged": "^16.4.0", "lucide-react": "^1.8.0", "playwright": "^1.59.1", "postcss": "^8.5.10", "postcss-scss": "^4.0.9", "prettier": "^3.8.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hook-form": "^7.72.1", "sass": "^1.99.0", "storybook": "^10.3.5", "stylelint": "^17.8.0", "stylelint-config-idiomatic-order": "^10.0.0", "stylelint-config-standard": "^40.0.0", "stylelint-config-standard-scss": "^17.0.0", "stylelint-order": "^8.1.1", "stylelint-scss": "^7.0.0", "tailwind-merge": "^3.5.0", "tailwindcss": "^3.4", "ts-jest": "^29.4.9", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", "tsup": "^8.5.1", "typescript": "~5.9.3", "vite": "^6", "vitest": "^4.1.4", "yup": "^1.7.1" }, "publishConfig": { "access": "public" }, "engines": { "node": ">=22" }, "pnpm": { "overrides": { "cross-spawn@<7.0.6": "^7.0.6", "braces@<3.0.3": "^3.0.3", "micromatch@<4.0.8": "^4.0.8" } }, "homepage": "https://react-international-phone-docs.vercel.app/" }