{
    "name": "@tryghost/admin-x-framework",
    "type": "module",
    "version": "0.0.0",
    "repository": "https://github.com/TryGhost/Ghost/tree/main/apps/admin-x-framework",
    "author": "Ghost Foundation",
    "private": true,
    "exports": {
        ".": {
            "import": "./dist/index.js",
            "require": "./dist/index.cjs",
            "types": "./types/index.d.ts"
        },
        "./errors": {
            "import": "./dist/errors.js",
            "require": "./dist/errors.cjs",
            "types": "./types/errors.d.ts"
        },
        "./helpers": {
            "import": "./dist/helpers.js",
            "require": "./dist/helpers.cjs",
            "types": "./types/helpers.d.ts"
        },
        "./hooks": {
            "import": "./dist/hooks.js",
            "require": "./dist/hooks.cjs",
            "types": "./types/hooks.d.ts"
        },
        "./routing": {
            "import": "./dist/routing.js",
            "require": "./dist/routing.cjs",
            "types": "./types/routing.d.ts"
        },
        "./api/*": {
            "import": "./dist/api/*.js",
            "require": "./dist/api/*.cjs",
            "types": "./types/api/*.d.ts"
        },
        "./utils/post-utils": {
            "import": "./dist/utils/post-utils.js",
            "require": "./dist/utils/post-utils.cjs",
            "types": "./types/utils/post-utils.d.ts"
        },
        "./vite": {
            "import": "./dist/vite.js",
            "require": "./dist/vite.cjs",
            "types": "./types/vite.d.ts"
        },
        "./playwright": {
            "import": "./dist/playwright.js",
            "require": "./dist/playwright.cjs",
            "types": "./types/playwright.d.ts"
        },
        "./test/*": {
            "import": "./dist/test/*.js",
            "require": "./dist/test/*.cjs",
            "types": "./types/test/*.d.ts"
        }
    },
    "sideEffects": false,
    "scripts": {
        "dev": "vite build --watch",
        "build": "tsc -p tsconfig.declaration.json && vite build",
        "test": "pnpm test:types && pnpm test:unit",
        "test:types": "tsc --noEmit",
        "test:unit": "vitest run --coverage",
        "lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
        "lint": "pnpm lint:code && pnpm lint:test",
        "lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx test/ --cache"
    },
    "files": [
        "dist",
        "types"
    ],
    "devDependencies": {
        "@playwright/test": "1.59.1",
        "@testing-library/jest-dom": "5.17.0",
        "@testing-library/react": "14.3.1",
        "@tryghost/koenig-lexical": "1.7.30",
        "@types/react": "18.3.28",
        "@types/react-dom": "18.3.7",
        "@vitejs/plugin-react": "4.7.0",
        "@vitest/coverage-v8": "^1.6.1",
        "c8": "10.1.3",
        "eslint": "catalog:",
        "eslint-plugin-react-hooks": "4.6.2",
        "eslint-plugin-react-refresh": "0.4.24",
        "glob": "^10.5.0",
        "jsdom": "28.1.0",
        "msw": "2.12.14",
        "sinon": "18.0.1",
        "typescript": "5.9.3",
        "vite": "5.4.21",
        "vite-plugin-css-injected-by-js": "3.5.2",
        "vite-plugin-svgr": "3.3.0",
        "vitest": "1.6.1"
    },
    "dependencies": {
        "@ebay/nice-modal-react": "1.2.13",
        "@sentry/react": "7.120.4",
        "@tanstack/react-query": "4.36.1",
        "@tinybirdco/charts": "0.2.4",
        "@tryghost/admin-x-design-system": "workspace:*",
        "@tryghost/shade": "workspace:*",
        "react": "18.3.1",
        "react-dom": "18.3.1",
        "react-hot-toast": "2.6.0",
        "react-router": "7.14.0"
    },
    "peerDependencies": {
        "react": "^18.2.0",
        "react-dom": "^18.2.0"
    },
    "nx": {
        "targets": {
            "build": {
                "dependsOn": [
                    "^build"
                ]
            },
            "test:unit": {
                "dependsOn": [
                    "^build"
                ]
            }
        }
    }
}
