{
  "name": "use-merge-state",
  "version": "1.3.1",
  "description": "A useState variant hook that merges updates.",
  "author": "Marc Bouchenoire",
  "license": "MIT",
  "repository": "https://github.com/bouchenoiremarc/use-merge-state",
  "keywords": [
    "react",
    "hook",
    "merge",
    "rest",
    "spread",
    "state"
  ],
  "files": [
    "dist",
    "src"
  ],
  "engines": {
    "node": "^14.13.1 || >=16.0.0"
  },
  "sideEffects": false,
  "source": "./src/index.ts",
  "main": "./dist/index.js",
  "module": "./dist/index.module.js",
  "modern": "./dist/index.mjs",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "module": "./dist/index.module.js",
      "import": "./dist/index.mjs",
      "default": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "types": "./dist/index.d.ts",
  "prettier": "@bouchenoiremarc/prettier-config",
  "lint-staged": {
    "**/*.mjs": [
      "eslint --fix",
      "yarn prettier"
    ],
    "**/*.{ts,tsx}": [
      "eslint --fix",
      "tsatsiki --project tsconfig.json",
      "yarn prettier"
    ],
    "**/*.{json,md,yml}": [
      "yarn prettier"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "scripts": {
    "build": "microbundle --tsconfig tsconfig.build.json",
    "prettier": "prettier --write --loglevel silent --ignore-path .eslintignore",
    "lint": "yarn lint:eslint && yarn lint:tsc && yarn lint:prettier",
    "lint:eslint": "eslint '**/*.{mjs,ts,tsx}' --fix",
    "lint:prettier": "yarn prettier '**/*.{mjs,ts,tsx,json,md,yml}'",
    "lint:tsc": "tsc --project tsconfig.json",
    "prepublishOnly": "yarn build",
    "release": "yarn login && np",
    "test": "uvu --require tsm tests",
    "test:coverage": "nyc --temp-dir=.nyc.log --include=src yarn test && nyc report --temp-dir=.nyc.log --reporter=lcov"
  },
  "devDependencies": {
    "@bouchenoiremarc/eslint-config": "^2.2.1",
    "@bouchenoiremarc/prettier-config": "^1.1.0",
    "@testing-library/react-hooks": "^7.0.2",
    "@types/react": "^17.0.36",
    "eslint": "^8.3.0",
    "husky": "4.3.8",
    "lint-staged": "^12.1.2",
    "microbundle": "^0.14.2",
    "np": "^7.6.0",
    "nyc": "^15.1.0",
    "prettier": "^2.4.1",
    "react": "^17.0.2",
    "react-test-renderer": "^17.0.2",
    "tsatsiki": "^1.0.1",
    "tsm": "^2.1.4",
    "typescript": "^4.5.2",
    "uvu": "^0.5.2"
  },
  "peerDependencies": {
    "react": ">=16.8.0"
  }
}
