{
  "name": "use-otp-input",
  "description": "🚀 Awesome React Hook for One-time password (OTP) Input",
  "version": "0.0.4",
  "author": "Yuns <yuns.xie@qq.com>",
  "license": "MIT",
  "type": "module",
  "main": "./dist/index.mjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "keywords": [
    "react",
    "hooks",
    "otp",
    "one-time-password",
    "one-time-code",
    "input",
    "react-hooks"
  ],
  "funding": [
    "https://opencollective.com/yuns",
    "https://afdian.net/@yunslove"
  ],
  "homepage": "https://github.com/yunsii/use-otp-input#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/yunsii/use-otp-input"
  },
  "bugs": "https://github.com/yunsii/use-otp-input/issues",
  "peerDependencies": {
    "react": ">=16.9.0",
    "react-dom": ">=16.9.0"
  },
  "devDependencies": {
    "@antfu/eslint-config": "^0.35.3",
    "@antfu/eslint-config-react": "^0.35.3",
    "@changesets/cli": "^2.26.2",
    "@commitlint/cli": "^17.6.6",
    "@commitlint/config-conventional": "^17.6.6",
    "@commitlint/types": "^17.4.4",
    "@jannajs/lint": "^2.3.9",
    "@mdx-js/react": "^2.3.0",
    "@types/fs-extra": "^11.0.1",
    "@types/node": "^18.6.2",
    "@types/react": "^18.0.15",
    "@types/react-dom": "^18.0.6",
    "@types/react-router-dom": "^5.3.3",
    "@types/react-test-renderer": "^18.0.0",
    "@vitejs/plugin-react": "^4.0.1",
    "@vitest/coverage-v8": "^0.32.2",
    "@vitest/ui": "^0.32.2",
    "autoprefixer": "^10.4.15",
    "eslint": "^8.28.0",
    "eslint-config-prettier": "^8.8.0",
    "fs-extra": "^11.1.1",
    "husky": "^8.0.1",
    "lint-staged": "^13.2.3",
    "postcss": "^8.4.28",
    "prettier": "^3.1.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^6.14.0",
    "react-test-renderer": "^18.2.0",
    "rimraf": "^5.0.1",
    "serve": "^14.2.0",
    "tailwindcss": "^3.3.3",
    "tslib": "^2.4.0",
    "typescript": "^5.1.6",
    "unplugin-auto-import": "^0.16.4",
    "vite": "^4.3.9",
    "vite-pages-theme-doc": "^4.1.5",
    "vite-plugin-dts": "^3.2.0",
    "vite-plugin-react-pages": "^4.1.3",
    "vite-tsconfig-paths": "^3.5.0",
    "vitest": "^0.32.2"
  },
  "lint-staged": {
    "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:lint",
    "**/*.{js,jsx,tsx,ts,css,less,scss,sass,md,yaml}": [
      "prettier --write --no-plugin-search"
    ]
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "dependencies": {
    "selection-extra": "^0.0.6"
  },
  "packageManager": "pnpm@8.12.1",
  "scripts": {
    "dev": "vite --config vite.docs.config.ts",
    "build:docs": "tsc && vite build --config vite.docs.config.ts",
    "bd": "pnpm run build:docs",
    "ssg": "rimraf dist-docs && vite-pages ssr --configFile vite.docs.config.ts",
    "ssg:preview": "npm run ssg && serve dist-docs",
    "build": "tsc && vite build --config vite.lib.config.ts",
    "preview": "vite preview --config vite.docs.config.ts",
    "lint-staged": "lint-staged",
    "lint-staged:lint": "eslint",
    "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx .",
    "lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx .",
    "prettier": "prettier --check --write --no-plugin-search \"**/*.(js|jsx|tsx|ts|css|less|scss|sass|md|yaml)\"",
    "test": "vitest --config vite.lib.config.ts",
    "test:ui": "vitest --config vite.lib.config.ts --ui",
    "coverage": "vitest run --config vite.lib.config.ts --coverage"
  }
}