{
    "name": "@apteryxxyz/posthog-js",
    "version": "1.139.3",
    "description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",
    "repository": "https://github.com/PostHog/posthog-js",
    "author": "hey@posthog.com",
    "license": "MIT",
    "scripts": {
        "start": "pnpm build-react && pnpm build-rollup -w",
        "build": "pnpm build-rollup && pnpm build-react",
        "build-rollup": "rm -rf lib && tsc -b && rollup -c --bundleConfigAsCjs",
        "build-react": "cd react && pnpm i && pnpm build && cd ..",
        "lint": "eslint src",
        "prettier": "prettier --write src/ functional_tests/",
        "/prepublishOnly": "pnpm lint && pnpm test && pnpm build && pnpm test:react",
        "test": "pnpm test:unit && pnpm test:custom-eslint-rules && pnpm test:functional",
        "test:unit": "jest src",
        "test:custom-eslint-rules": "jest eslint-rules",
        "test:react": "cd react && pnpm test",
        "test:functional": "jest functional_tests",
        "test-watch": "jest --watch src",
        "cypress": "cypress open",
        "prepare": "husky install",
        "deprecate-old-versions": "node scripts/deprecate-old-versions.mjs"
    },
    "main": "dist/module.js",
    "module": "dist/es.js",
    "types": "dist/module.d.ts",
    "files": [
        "lib/*",
        "dist/*",
        "react/dist/*",
        "react/package.json"
    ],
    "dependencies": {
        "fflate": "^0.4.8",
        "preact": "^10.19.3"
    },
    "devDependencies": {
        "@babel/core": "7.18.9",
        "@babel/plugin-syntax-decorators": "^7.23.3",
        "@babel/plugin-transform-react-jsx": "^7.23.4",
        "@babel/preset-env": "7.18.9",
        "@babel/preset-typescript": "^7.18.6",
        "@jest/globals": "^27.5.1",
        "@rollup/plugin-babel": "^6.0.4",
        "@rollup/plugin-json": "^6.1.0",
        "@rollup/plugin-node-resolve": "^15.2.3",
        "@rollup/plugin-terser": "^0.4.4",
        "@rollup/plugin-typescript": "^11.1.6",
        "@rrweb/types": "2.0.0-alpha.13",
        "@sentry/types": "8.7.0",
        "@testing-library/dom": "^9.3.0",
        "@types/eslint": "^8.44.6",
        "@types/jest": "^29.5.1",
        "@types/react-dom": "^18.0.10",
        "@types/sinon": "^17.0.1",
        "@types/uuid": "^9.0.1",
        "@typescript-eslint/eslint-plugin": "^6.19.0",
        "@typescript-eslint/parser": "^6.19.0",
        "babel-eslint": "10.1.0",
        "babel-jest": "^26.6.3",
        "compare-versions": "^6.1.0",
        "cypress": "13.6.3",
        "cypress-localstorage-commands": "^2.2.5",
        "date-fns": "^3.6.0",
        "eslint": "8.56.0",
        "eslint-config-posthog-js": "link:eslint-rules",
        "eslint-config-prettier": "^8.5.0",
        "eslint-plugin-compat": "^4.1.4",
        "eslint-plugin-jest": "^27.2.3",
        "eslint-plugin-no-only-tests": "^3.1.0",
        "eslint-plugin-posthog-js": "link:eslint-rules",
        "eslint-plugin-prettier": "^4.2.1",
        "eslint-plugin-react": "^7.30.1",
        "eslint-plugin-react-hooks": "^4.6.0",
        "express": "^4.18.2",
        "fast-check": "^2.17.0",
        "given2": "^2.1.7",
        "husky": "^8.0.1",
        "jest": "^27.5.1",
        "jsdom": "16.5.0",
        "jsdom-global": "3.0.2",
        "lint-staged": "^10.2.11",
        "localStorage": "1.0.4",
        "msw": "^1.2.1",
        "node-fetch": "^2.6.11",
        "posthog-js": "link:",
        "preact-render-to-string": "^6.3.1",
        "prettier": "^2.7.1",
        "rollup": "^4.9.6",
        "rollup-plugin-dts": "^6.1.0",
        "rollup-plugin-visualizer": "^5.12.0",
        "rrweb": "2.0.0-alpha.13",
        "rrweb-snapshot": "2.0.0-alpha.13",
        "sinon": "9.0.2",
        "testcafe": "1.19.0",
        "testcafe-browser-provider-browserstack": "1.14.0",
        "tslib": "^2.5.0",
        "typescript": "^4.9.5",
        "yargs": "^17.7.2"
    },
    "lint-staged": {
        "*.{ts,tsx,js,json}": "prettier --write",
        "*.js": "eslint --cache --fix",
        "*.{ts,tsx}": [
            "eslint src --fix",
            "eslint cypress --fix"
        ]
    },
    "browserslist": [
        "> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"
    ],
    "pnpm": {
        "patchedDependencies": {
            "rrweb@2.0.0-alpha.13": "patches/rrweb@2.0.0-alpha.13.patch"
        }
    }
}
