{
  "name": "react-constore",
  "version": "1.1.1",
  "description": "Lightweight and efficient state management for React with TypeScript support",
  "author": "Mostafa Rastegar",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mostafarastegar/react-constore.git"
  },
  "main": "dist/index.js",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./middlewares": {
      "types": "./middlewares/index.d.ts",
      "import": "./middlewares/index.ts",
      "require": "./middlewares/index.ts"
    }
  },
  "files": [
    "dist",
    "middlewares",
    "types.ts",
    "README.md",
    "LICENSE"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "semantic-release": "semantic-release",
    "build": "tsup src/index.ts --format cjs,esm --dts --clean --minify --treeshake && npm run copy-middlewares",
    "copy-middlewares": "rm -rf middlewares && cp -r src/middlewares middlewares && cp -r src/types.ts middlewares",
    "dev": "tsup src/index.ts --format cjs,esm --dts --watch && npm run copy-middlewares",
    "prepare": "npm run build",
    "type-check": "tsc --noEmit",
    "size": "size-limit",
    "test:size": "npm run build && npm run size",
    "preview": "npm pack --dry-run",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:coverage": "jest --coverage",
    "test:ci": "jest --ci --coverage --watchAll=false"
  },
  "keywords": [
    "react",
    "react18",
    "react19",
    "state",
    "management",
    "context",
    "typescript",
    "hooks",
    "store",
    "concurrent",
    "server-components"
  ],
  "peerDependencies": {
    "react": ">=18.0.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": false
    }
  },
  "devDependencies": {
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/commit-analyzer": "^13.0.1",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^11.0.3",
    "@semantic-release/npm": "^12.0.1",
    "@semantic-release/release-notes-generator": "^14.0.3",
    "@size-limit/preset-small-lib": "^11.0.0",
    "@testing-library/jest-dom": "^6.1.4",
    "@testing-library/react": "^14.0.0",
    "@testing-library/user-event": "^14.5.1",
    "@types/jest": "^29.5.8",
    "@types/react": "^18.0.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "react": "^18.0.0",
    "semantic-release": "^24.2.5",
    "size-limit": "^11.0.0",
    "ts-jest": "^29.1.1",
    "tsup": "^8.0.0",
    "typescript": "^5.0.0"
  },
  "size-limit": [
    {
      "path": "dist/index.js",
      "limit": "2KB"
    },
    {
      "path": "dist/index.mjs",
      "limit": "2KB"
    }
  ],
  "engines": {
    "node": ">=16"
  }
}
