UNPKG

use-postal-jp

Version:

郵便番号を住所に変換するReactカスタムフックです。住所データを内部に持たず、APIで住所変換するため軽量なパッケージになっています。

91 lines (90 loc) 2.54 kB
{ "name": "use-postal-jp", "version": "2.0.2", "description": "郵便番号を住所に変換するReactカスタムフックです。住所データを内部に持たず、APIで住所変換するため軽量なパッケージになっています。", "publishConfig": { "access": "public" }, "author": "aiji42 <aiji42@gmail.com> (https://twitter.com/aiji42_dev)", "bugs": { "url": "https://github.com/aiji42/use-postal-code/issues" }, "homepage": "https://github.com/aiji42/use-postal-code#readme", "license": "MIT", "repository": "aiji42/use-postal-jp", "main": "./dist/main.umd.js", "module": "./dist/main.es.js", "types": "./dist/main.d.ts", "files": [ "dist" ], "exports": { ".": { "import": "./dist/main.es.js", "require": "./dist/main.umd.js" } }, "scripts": { "dev": "vite", "build": "tsc --skipLibCheck && vite build && tsc -p ./tsconfig.build.json", "serve": "vite preview", "test": "jest", "test:coverage": "jest --coverage", "prepare": "husky install", "semantic-release": "semantic-release" }, "peerDependencies": { "react": ">=16.9.0" }, "devDependencies": { "@babel/core": "^7.16.0", "@babel/preset-env": "^7.16.4", "@babel/preset-typescript": "^7.16.0", "@commitlint/cli": "^15.0.0", "@commitlint/config-conventional": "^15.0.0", "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^27.0.3", "@types/node": "^16.11.9", "@types/react": "^17.0.36", "@types/react-dom": "^17.0.11", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "@vitejs/plugin-react-refresh": "^1.3.6", "babel-jest": "^27.3.1", "eslint": "^8.3.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^25.3.0", "eslint-plugin-react": "^7.27.1", "fetch-mock": "^9.11.0", "husky": "^7.0.4", "jest": "^27.3.1", "lint-staged": "^12.1.2", "node-fetch": "^2.6.6", "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "semantic-release": "^18.0.0", "semantic-release-cli": "^5.4.4", "ts-node": "^10.4.0", "typescript": "^4.5.2", "vite": "^2.6.14" }, "keywords": [ "react", "react-hook", "react-hooks", "react hook", "react hooks", "postal code", "japanese", "郵便番号", "yubin" ], "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ] } }