{
    "name": "posthog-js-react",
    "version": "1.0.0",
    "private": false,
    "description": "Provides components and hooks for React integrations of PostHog. It is not published to NPM, but is used in the main posthog-js package.",
    "repository": {
        "type": "git",
        "url": "https://github.com/PostHog/posthog-js",
        "directory": "react"
    },
    "author": "hey@posthog.com",
    "license": "MIT",
    "scripts": {
        "prebuild": "npm run clean",
        "start": "tsc-watch",
        "clean": "rimraf -r dist",
        "build": "pnpm clean && cross-env NODE_ENV=production rollup -c rollup.config.ts",
        "test": "jest",
        "test:debug": "jest --runInBand",
        "prepublishOnly": "pnpm test && pnpm build"
    },
    "main": "dist/umd/index.js",
    "module": "dist/esm/index.js",
    "types": "dist/types",
    "files": [
        "dist/*",
        "README.md"
    ],
    "peerDependencies": {
        "@types/react": ">=16.8.0",
        "posthog-js": "*",
        "react": ">=16.8.0"
    },
    "peerDependenciesMeta": {
        "@types/react": {
            "optional": true
        }
    },
    "devDependencies": {
        "@rollup/plugin-commonjs": "^17.0.0",
        "@rollup/plugin-inject": "^4.0.2",
        "@rollup/plugin-node-resolve": "^11.0.1",
        "@rollup/plugin-replace": "^2.3.4",
        "@testing-library/jest-dom": "^5.16.5",
        "@testing-library/react": "^11.2.2",
        "@testing-library/react-hooks": "^3.7.0",
        "@types/react": "^17.0.0",
        "cross-env": "^7.0.3",
        "given2": "^2.1.7",
        "jest": "^26.6.3",
        "posthog-js": "link:..",
        "react": "^17.0.1",
        "react-dom": "^17.0.1",
        "react-test-renderer": "^17.0.1",
        "rimraf": "^3.0.2",
        "rollup": "^2.35.1",
        "rollup-plugin-typescript2": "^0.29.0",
        "ts-jest": "^26.4.4",
        "tsc-watch": "^4.2.9",
        "typescript": "^4.1.3"
    },
    "jest": {
        "preset": "ts-jest/presets/js-with-ts",
        "rootDir": "src",
        "setupFilesAfterEnv": [
            "given2/setup"
        ]
    },
    "dependencies": {
        "@sentry/types": "7.37.2"
    }
}
