{
  "name": "use-tw-zipcode",
  "version": "2.1.1",
  "description": "React hook for getting Taiwan zip code.",
  "license": "MIT",
  "author": "Gary Lai <garylai1990@gmail.com>",
  "homepage": "https://github.com/imgarylai/use-tw-zipcode#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/imgarylai/use-tw-zipcode"
  },
  "bugs": {
    "url": "https://github.com/imgarylai/use-tw-zipcode/issues"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    }
  },
  "main": "dist/index.js",
  "module": "dist/index.mjs",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "vite build",
    "commit": "git-cz",
    "dev": "vite build --watch",
    "lint": "eslint .",
    "prepare": "husky",
    "semantic-release": "semantic-release",
    "test": "jest",
    "test:coverage": "jest --coverage",
    "type-check": "tsc --noEmit"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "types": "dist/index.d.ts",
  "peerDependencies": {
    "react": ">= 16.8.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.0.0",
    "@commitlint/config-conventional": "^20.0.0",
    "@commitlint/prompt": "^20.0.0",
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^12.0.0",
    "@testing-library/react": "^16.0.0",
    "@types/jest": "^30.0.0",
    "@types/react": "^19.0.0",
    "@types/react-dom": "19.2.3",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "@vitejs/plugin-react": "5.1.2",
    "commitizen": "^4.3.0",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^9.0.0",
    "eslint-config-prettier": "^10.0.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jsx-a11y": "^6.8.0",
    "eslint-plugin-react": "^7.34.0",
    "eslint-plugin-react-hooks": "^7.0.0",
    "husky": "^9.0.11",
    "jest": "^30.0.0",
    "jest-environment-jsdom": "30.2.0",
    "lint-staged": "16.2.7",
    "prettier": "^3.2.5",
    "prettier-package-json": "2.8.0",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "semantic-release": "^25.0.0",
    "ts-jest": "29.4.6",
    "typescript": "^5.4.2",
    "vite": "7.2.7",
    "vite-plugin-dts": "4.5.4"
  },
  "keywords": [
    "hook",
    "react",
    "taiwan"
  ],
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "eslint --fix",
      "prettier --write"
    ],
    "tests/**/*.{ts,tsx}": [
      "eslint --fix",
      "prettier --write",
      "jest --bail --findRelatedTests"
    ],
    "*.{js,jsx}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.config.{js,ts}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.{json,md}": [
      "prettier --write"
    ],
    "package.json": [
      "prettier-package-json --write"
    ]
  }
}
