{
    "name": "@tryghost/stats",
    "version": "0.0.0",
    "license": "MIT",
    "repository": {
        "type": "git",
        "url": "https://github.com/TryGhost/Ghost/tree/main/apps/stats"
    },
    "author": "Ghost Foundation",
    "files": [
        "LICENSE",
        "README.md",
        "dist/"
    ],
    "main": "./dist/stats.umd.cjs",
    "module": "./dist/stats.js",
    "exports": {
        ".": {
            "import": "./dist/stats.js",
            "require": "./dist/stats.umd.cjs"
        },
        "./api": "./src/api.ts"
    },
    "private": true,
    "scripts": {
        "dev": "vite build --watch",
        "dev:start": "vite",
        "test": "pnpm test:unit --coverage",
        "test:unit": "vitest run test/unit",
        "test:acceptance": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' playwright test",
        "test:acceptance:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 pnpm test:acceptance --headed",
        "test:acceptance:full": "ALL_BROWSERS=1 pnpm test:acceptance",
        "test:watch": "vitest",
        "test:coverage": "vitest run --coverage",
        "build": "tsc && vite build",
        "lint": "pnpm run lint:code && pnpm run lint:test",
        "lint:code": "eslint --ext .js,.ts,.cjs,.tsx --cache src",
        "lint:code:fix": "eslint --ext .js,.ts,.cjs,.tsx --cache --fix src",
        "lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx --cache test",
        "preview": "vite preview"
    },
    "devDependencies": {
        "@faker-js/faker": "9.9.0",
        "@playwright/test": "1.59.1",
        "@tanstack/react-query": "4.36.1",
        "@testing-library/jest-dom": "6.9.1",
        "@testing-library/react": "14.3.1",
        "@types/jest": "29.5.14",
        "@types/react": "18.3.28",
        "@types/react-svg-map": "2.1.4",
        "@vitest/coverage-v8": "^1.6.1",
        "@vitejs/plugin-react": "4.7.0",
        "dotenv": "17.3.1",
        "msw": "2.12.14",
        "tailwindcss": "^4.2.2",
        "vite": "5.4.21",
        "vite-plugin-svgr": "4.5.0",
        "vitest": "1.6.1"
    },
    "dependencies": {
        "@svg-maps/world": "1.0.1",
        "@tryghost/admin-x-framework": "workspace:*",
        "@tryghost/shade": "workspace:*",
        "i18n-iso-countries": "7.14.0",
        "moment": "2.24.0",
        "moment-timezone": "0.5.45",
        "react": "18.3.1",
        "react-dom": "18.3.1",
        "react-svg-map": "2.2.0"
    },
    "nx": {
        "targets": {
            "dev": {
                "dependsOn": [
                    "^build"
                ]
            },
            "test:unit": {
                "dependsOn": [
                    "^build"
                ]
            },
            "test:acceptance": {
                "dependsOn": [
                    "^build"
                ]
            }
        }
    }
}
