{
  "name": "use-inertia-form",
  "version": "4.6.0",
  "description": "Extra functionality for Inertia.js useForm hook",
  "type": "module",
  "main": "dist/useInertiaForm.js",
  "cjs": "dist/useInertiaForm.cjs",
  "unpkg": "dist/useInertiaForm.umd.min.js",
  "types": "dist/index.d.ts",
  "homepage": "https://github.com/aviemet/useInertiaForm#readme",
  "sideEffects": false,
  "files": [
    "dist"
  ],
  "keywords": [
    "react",
    "hooks",
    "react-hooks",
    "inertiajs",
    "useForm",
    "useInertiaForm"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/aviemet/useInertiaForm.git"
  },
  "author": "Avram Walden <aviemet@gmail.com>",
  "license": "MIT",
  "packageManager": "yarn@4.5.3",
  "bugs": {
    "url": "https://github.com/aviemet/useInertiaForm/issues"
  },
  "scripts": {
    "build": "yarn clean && rollup -c --bundleConfigAsCjs",
    "build:watch": "yarn clean && rollup --watch -c --bundleConfigAsCjs",
    "clean": "rimraf dist",
    "lint": "eslint '**/*.{js,ts}'",
    "lint:fix": "npm run lint -- --fix",
    "lint:types": "tsc --noEmit",
    "lint:all": "yarn lint && yarn lint:types",
    "test": "NODE_NO_WARNINGS=1 jest --config jest.config.ts --silent=false",
    "test:watch": "NODE_NO_WARNINGS=1 jest --config jest.config.ts --watch --silent=false",
    "test:coverage": "NODE_NO_WARNINGS=1 jest --config jest.config.ts --coverage",
    "release": "semantic-release",
    "cz": "git-cz"
  },
  "devDependencies": {
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-transform-runtime": "^7.25.9",
    "@babel/preset-env": "^7.26.0",
    "@babel/preset-react": "^7.26.3",
    "@babel/preset-typescript": "^7.26.0",
    "@commitlint/cli": "^19.6.1",
    "@commitlint/config-conventional": "^19.6.0",
    "@eslint/compat": "^1.2.7",
    "@inertiajs/react": "^2.0.0",
    "@rollup/plugin-babel": "^6.0.4",
    "@rollup/plugin-commonjs": "^28.0.2",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^16.0.0",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^12.1.2",
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@stylistic/eslint-plugin": "^2.12.1",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.1.0",
    "@testing-library/user-event": "^14.5.2",
    "@types/jest": "^29.5.14",
    "@types/lodash": "^4.17.14",
    "@types/node": "^22.13.10",
    "@types/react": "^19.0.2",
    "@types/react-dom": "^19.0.2",
    "@typescript-eslint/eslint-plugin": "^8.19.0",
    "@typescript-eslint/parser": "^8.19.0",
    "axios": "^1.7.9",
    "axios-mock-adapter": "^2.1.0",
    "circular-json": "^0.5.9",
    "commitizen": "^4.3.1",
    "cz-conventional-changelog": "^3.3.0",
    "es-toolkit": "^1.33.0",
    "eslint": "^9.17.0",
    "eslint-config-airbnb-typescript": "^18.0.0",
    "eslint-import-resolver-typescript": "^3.7.0",
    "eslint-plugin-better-styled-components": "^1.1.2",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-jsonc": "^2.18.2",
    "eslint-plugin-jsx-a11y": "^6.10.2",
    "eslint-plugin-react": "^7.37.3",
    "eslint-plugin-react-hooks": "^5.1.0",
    "eslint-plugin-testing-library": "^7.1.1",
    "git-cz": "^4.9.0",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "jest-fixed-jsdom": "^0.0.9",
    "jest-mock-axios": "^4.8.0",
    "lint-staged": "^15.3.0",
    "msw": "^2.7.0",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "react-test-renderer": "^19.0.0",
    "rimraf": "^6.0.1",
    "rollup": "^4.29.2",
    "rollup-plugin-dts": "^6.1.1",
    "rollup-plugin-filesize": "^10.0.0",
    "rollup-plugin-peer-deps-external": "^2.2.4",
    "rollup-plugin-sourcemaps": "^0.6.3",
    "rollup-plugin-ts": "^3.4.5",
    "rollup-plugin-typescript2": "^0.36.0",
    "semantic-release": "^24.2.1",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "typescript": "^5.7.2"
  },
  "peerDependencies": {
    "@inertiajs/react": "^1.0.0 || ^2.0.0",
    "axios": "^1.7.8",
    "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
    "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "npm run lint:types && lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,ts}": [
      "npm run lint:fix"
    ],
    "*.{md,json,yml}": [
      "git add"
    ]
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}
