{
  "name": "@storesjs/stores",
  "version": "0.11.0",
  "license": "MIT",
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/christianbaroni/stores.git",
    "directory": "packages/core"
  },
  "homepage": "https://github.com/christianbaroni/stores",
  "engines": {
    "node": ">=20.0.0"
  },
  "files": [
    "dist",
    "!dist/**/*.d.ts.map",
    "README.md",
    "LICENSE"
  ],
  "main": "dist/web/index.js",
  "module": "dist/web/index.mjs",
  "types": "dist/index.d.ts",
  "react-native": "dist/native/index.js",
  "exports": {
    ".": {
      "types": {
        "react-native": "./dist/index.d.ts",
        "vanilla": "./dist/vanilla/index.vanilla.d.ts",
        "default": "./dist/index.d.ts"
      },
      "import": {
        "react-native": "./dist/native/index.js",
        "vanilla": "./dist/vanilla/index.mjs",
        "default": "./dist/web/index.mjs"
      },
      "require": {
        "react-native": "./dist/native/index.js",
        "vanilla": "./dist/vanilla/index.js",
        "default": "./dist/web/index.js"
      }
    },
    "./chrome": {
      "types": "./dist/plugins/chrome/index.d.ts",
      "import": "./dist/web/chrome.mjs",
      "require": "./dist/web/chrome.js"
    }
  },
  "peerDependencies": {
    "react": ">=18.0.0",
    "react-native": ">=0.69.0",
    "react-native-mmkv": ">=2.0.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "react-native": {
      "optional": true
    },
    "react-native-mmkv": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/chrome": "^0.0.276",
    "@types/node": "^22.19.5",
    "@types/react": "^19.1.1",
    "@types/react-dom": "^19.1.1",
    "esbuild": "^0.25.10",
    "happy-dom": "^20.9.0",
    "madge": "^8.0.0",
    "react-dom": "^19.1.1",
    "terser": "^5.44.0",
    "tsup": "^8.5.0",
    "tsx": "^4.20.6",
    "vitest": "^2.0.0"
  },
  "scripts": {
    "analyze": "pnpm run prebuild:web && tsx --tsconfig scripts/tsconfig.json scripts/analyze-bundle.ts && pnpm run postbuild:web",
    "build": "tsx --tsconfig scripts/tsconfig.json scripts/build.ts",
    "build:dev": "pnpm run build:types && NODE_ENV=development pnpm run build:web && NODE_ENV=development pnpm run build:native",
    "build:native": "pnpm run -s prebuild:native && BUILD_TARGET=native tsup --config tsup.config.ts --out-dir dist/native && pnpm run -s postbuild:native",
    "build:types": "tsc -b tsconfig.build.json --emitDeclarationOnly --force",
    "build:web": "pnpm run -s prebuild:web && tsup --config tsup.config.ts --out-dir dist/web && pnpm run -s postbuild:web",
    "generate:exports": "tsx --tsconfig scripts/tsconfig.json scripts/generate-exports.ts",
    "lint": "pnpm -w run lint",
    "lint:circular": "madge --circular --extensions ts,tsx src",
    "lint:eslint": "pnpm -w run lint:eslint",
    "lint:format": "prettier --write --log-level warn --ignore-path ../../.prettierignore .",
    "lint:prettier": "pnpm -w run lint:prettier",
    "postbuild:native": "rm -f src/storesStorage.ts src/env.ts",
    "postbuild:web": "rm -f src/storesStorage.ts src/env.ts",
    "prebuild:native": "cp src/storesStorage.native.ts src/storesStorage.ts && cp src/env.native.ts src/env.ts",
    "prebuild:web": "cp src/storesStorage.web.ts src/storesStorage.ts && cp src/env.web.ts src/env.ts",
    "test": "vitest run",
    "test:chrome": "vitest run src/plugins/chrome",
    "test:plugins": "vitest run src/plugins",
    "test:treeshake": "tsx --tsconfig scripts/tsconfig.json scripts/treeshake.ts"
  }
}