react-telephone-gp-fork
Version:
☎️ Tiniest react input phone component (auto formating included)
85 lines (84 loc) • 2.33 kB
JSON
{
"name": "react-telephone-gp-fork",
"description": "☎️ Tiniest react input phone component (auto formating included)",
"version": "0.0.5",
"type": "module",
"source": "./src/index.tsx",
"typings": "dist/index.d.ts",
"main": "./dist/react-telephone.cjs",
"module": "./dist/react-telephone.module.js",
"unpkg": "./dist/foo.umd.js",
"exports": {
"types": "./dist/index.d.mts",
"require": "./dist/react-telephone.cjs",
"default": "./dist/react-telephone.modern.js"
},
"scripts": {
"dev": "microbundle watch",
"build": "microbundle --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx",
"test": "vitest",
"prepare": "husky install",
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx .",
"tsc": "tsc --noEmit"
},
"license": "MIT",
"homepage": "https://github.com/jorisre/react-telephone#readme",
"repository": {
"type": "git",
"url": "https://github.com/jorisre/react-telephone.git"
},
"bugs": {
"url": "https://github.com/jorisre/react-telephone/issues"
},
"keywords": [
"phone",
"phone number",
"telephone",
"international",
"tel",
"number"
],
"sideEffects": false,
"files": [
"dist",
"src"
],
"author": {
"name": "Joris",
"email": "me@joris.re",
"url": "https://joris.re"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18",
"react-dom": "^16 || ^17 || ^18"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/node": "^20.5.7",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-react": "^4.0.4",
"c8": "^8.0.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
},
"lint-staged": {
"*.js": "npm run lint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}