{
    "name": "@deriv-com/analytics",
    "version": "1.42.1",
    "description": "Comprehensive analytics package for Deriv applications. Provides unified event tracking, A/B testing, and user analytics through RudderStack, PostHog and GrowthBook integrations with built-in caching and offline support.",
    "keywords": [
        "rudderstack",
        "growthbook",
        "posthog",
        "analytics",
        "event-tracking"
    ],
    "private": false,
    "publishConfig": {
        "access": "public"
    },
    "author": "Amir Ali, Addriene, Nikita,Aswathy",
    "main": "./dist/index.js",
    "module": "./dist/index.mjs",
    "types": "./dist/index.d.ts",
    "browser": "./dist/browser/analytics.bundle.global.js",
    "exports": {
        ".": {
            "types": "./dist/index.d.ts",
            "import": "./dist/index.mjs",
            "require": "./dist/index.js"
        },
        "./growthbook": {
            "types": "./dist/providers/growthbook/index.d.ts",
            "import": "./dist/providers/growthbook/index.mjs",
            "require": "./dist/providers/growthbook/index.js"
        },
        "./rudderstack": {
            "types": "./dist/providers/rudderstack/index.d.ts",
            "import": "./dist/providers/rudderstack/index.mjs",
            "require": "./dist/providers/rudderstack/index.js"
        },
        "./posthog": {
            "types": "./dist/providers/posthog/index.d.ts",
            "import": "./dist/providers/posthog/index.mjs",
            "require": "./dist/providers/posthog/index.js"
        }
    },
    "scripts": {
        "test": "vitest run",
        "build": "tsup",
        "prepare": "npm run build && husky install",
        "prepublishOnly": "npm test"
    },
    "files": [
        "dist/**/*"
    ],
    "repository": {
        "type": "git",
        "url": "https://github.com/deriv-com/deriv-analytics"
    },
    "homepage": "https://github.com/deriv-com/deriv-analytics",
    "devDependencies": {
        "@semantic-release/changelog": "^6.0.3",
        "@semantic-release/git": "^10.0.1",
        "@semantic-release/github": "^12.0.6",
        "@semantic-release/npm": "^13.1.5",
        "@semantic-release/release-notes-generator": "^14.1.0",
        "@types/js-cookie": "^3.0.6",
        "@types/node": "^25.5.2",
        "husky": "^9.1.7",
        "jsdom": "^29.0.2",
        "lint-staged": "^16.4.0",
        "prettier": "^3.8.3",
        "semantic-release": "^25.0.3",
        "tslib": "^2.8.1",
        "tsup": "^8.5.1",
        "typescript": "^6.0.2",
        "vitest": "^4.1.2"
    },
    "dependencies": {
        "@rudderstack/analytics-js": "^3.31.0",
        "js-cookie": "^3.0.5",
        "posthog-js": "^1.372.9"
    },
    "optionalDependencies": {
        "@growthbook/growthbook": "^1.6.5"
    },
    "overrides": {
        "npm": {
            "tinyglobby": {
                "picomatch": "4.0.4"
            }
        }
    },
    "engines": {
        "node": ">=24.13.0",
        "npm": ">=11.7.0"
    },
    "license": "MIT",
    "lint-staged": {
        "*.{js,md,ts}": "prettier --write"
    }
}
