{
    "name": "@simplyianm/legend-state",
    "version": "1.6.2",
    "description": "legend-state",
    "sideEffects": false,
    "main": "./dist/cjs/index.js",
    "module": "./dist/esm/index.js",
    "files": [
        "**"
    ],
    "engines": {
        "node": ">=16.6.0",
        "npm": ">=8.11.0"
    },
    "scripts": {
        "clean": "rimraf dist",
        "prebuild": "npm run clean",
        "build:cjs": "tsc",
        "build:esm": "tsc --project tsconfig.esm.json",
        "build": "npm run lint:check && npm run build:cjs && npm run build:esm",
        "test": "jest",
        "postversion": "npm run build && git push --follow-tags",
        "jestclear": "jest --clearCache",
        "publish:manual": "npm run build && npm publish",
        "publish:minor": "npm version minor && npm publish",
        "publish:patch": "npm version patch && npm publish",
        "publish:prepatch": "npm version prepatch --preid=next && npm publish --tag next",
        "publish:preminor": "npm version preminor --preid=next && npm publish --tag next",
        "publish:rcrelease": "npm version prerelease --preid=rc && npm publish --tag rc",
        "publish:nextrelease": "npm version prerelease --preid=next && npm publish --tag next",
        "publish:betarelease": "npm version prerelease --preid=beta && npm publish",
        "checksize:core": "npx esbuild ./testbundles/bundlecore.js --bundle --outfile=temp-built.js --minify && gzip temp-built.js && stat -f%z ./temp-built.js.gz && rm temp-built.js.*",
        "checksize:react": "npx esbuild ./testbundles/bundlereact.js --bundle --outfile=temp-built.js --minify --external:react --external:@legendapp/state && gzip temp-built.js && stat -f%z ./temp-built.js.gz && rm temp-built.js.*",
        "checksize": "npm run checksize:core && npm run checksize:react",
        "lint:write": "eslint ./src ./tests --fix --ext .ts,.tsx",
        "lint:check": "eslint ./src ./tests --ext .ts,.tsx",
        "format:write": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
        "format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
        "release": "release-it"
    },
    "exports": {
        ".": {
            "import": "./dist/esm/index.js",
            "require": "./dist/cjs/index.js"
        },
        "./persist": {
            "import": "./dist/esm/persist.js",
            "require": "./dist/cjs/persist.js"
        },
        "./react": {
            "import": "./dist/esm/react.js",
            "require": "./dist/cjs/react.js"
        },
        "./react-components": {
            "import": "./dist/esm/react-components.js",
            "require": "./dist/cjs/react-components.js"
        },
        "./react-native-components": {
            "import": "./dist/esm/react-native-components.js",
            "require": "./dist/cjs/react-native-components.js"
        },
        "./trace": {
            "import": "./dist/esm/trace.js",
            "require": "./dist/cjs/trace.js"
        },
        "./history": {
            "import": "./dist/esm/history.js",
            "require": "./dist/cjs/history.js"
        },
        "./config/*": {
            "import": "./dist/esm/config/*.js",
            "require": "./dist/cjs/config/*.js"
        },
        "./helpers/*": {
            "import": "./dist/esm/helpers/*.js",
            "require": "./dist/cjs/helpers/*.js"
        },
        "./persist-plugins/*": {
            "import": "./dist/esm/persist-plugins/*.js",
            "require": "./dist/cjs/persist-plugins/*.js"
        },
        "./react-hooks/*": {
            "import": "./dist/esm/react-hooks/*.js",
            "require": "./dist/cjs/react-hooks/*.js"
        },
        "./types": {
            "types": "./types.d.ts"
        },
        "./types/babel": {
            "types": "./src/types/babel.ts"
        },
        "./babel": {
            "import": "./dist/esm/babel.js",
            "require": "./dist/cjs/babel.js"
        }
    },
    "devDependencies": {
        "@babel/types": "^7.20.2",
        "@commitlint/config-conventional": "^17.4.4",
        "@evilmartians/lefthook": "^1.3.3",
        "@jest/globals": "^29.6.1",
        "@release-it/conventional-changelog": "^5.1.1",
        "@swc/cli": "^0.1.57",
        "@swc/core": "^1.3.14",
        "@tanstack/react-query": "^4.14.6",
        "@testing-library/jest-dom": "^5.16.5",
        "@testing-library/react": "^14.0.0",
        "@types/jest": "^29.5.3",
        "@types/react": "^18.0.25",
        "@types/react-dom": "^18.0.8",
        "@types/react-native": "^0.70.6",
        "@types/use-sync-external-store": "^0.0.3",
        "@typescript-eslint/eslint-plugin": "^5.48.0",
        "@typescript-eslint/parser": "^5.48.0",
        "babel-jest": "^29.4.1",
        "commitlint": "^17.4.4",
        "eslint": "^8.45.0",
        "eslint-plugin-react": "^7.32.2",
        "eslint-plugin-react-hooks": "^4.6.0",
        "fake-indexeddb": "^4.0.0",
        "jest": "^29.6.1",
        "jest-environment-jsdom": "^29.6.1",
        "json": "^11.0.0",
        "next": "^13",
        "prettier": "^3.0.0",
        "react": "18.2.0",
        "react-native": "^0.70.5",
        "react-native-mmkv": "^2.5.1",
        "react-test-renderer": "^18.2.0",
        "release-it": "^15.7.0",
        "rimraf": "^3.0.2",
        "ts-jest": "^29.1.1",
        "tslib": "^2.4.1",
        "typescript": "^5.1.6"
    },
    "overrides": {
        "react": "18.2.0"
    },
    "author": "Legend <contact@legendapp.com> (https://github.com/LegendApp)",
    "keywords": [
        "react",
        "react-native",
        "state",
        "hooks",
        "proxy"
    ],
    "repository": {
        "type": "git",
        "url": "git+https://github.com/LegendApp/legend-state.git"
    },
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/LegendApp/legend-state/issues"
    },
    "homepage": "https://github.com/LegendApp/legend-state#readme",
    "publishConfig": {
        "registry": "https://registry.npmjs.org/",
        "access": "public"
    },
    "commitlint": {
        "extends": [
            "@commitlint/config-conventional"
        ]
    },
    "dependencies": {
        "use-sync-external-store": "^1.2.0"
    }
}
