{
    "name": "@theorchard/suite-frontend",
    "version": "9.12.0",
    "description": "Utils and helpers to start building frontend suite apps",
    "author": "The Orchard",
    "homepage": "https://github.com/theorchard/orchard-suite#readme",
    "license": "MIT",
    "main": "dist/cjs/src/index.js",
    "module": "dist/esm/src/index.js",
    "types": "dist/esm/src/index.d.ts",
    "exports": {
        ".": {
            "import": "./src/index.ts",
            "require": "./dist/cjs/src/index.js"
        },
        "./styles": "./src/styles/index.scss",
        "./vars": "./src/styles/vars.scss"
    },
    "directories": {
        "lib": "dist"
    },
    "files": [
        "dist",
        "lib",
        "src"
    ],
    "publishConfig": {
        "registry": "https://npm.pkg.github.com",
        "exports": {
            ".": {
                "import": "./dist/esm/src/index.js",
                "require": "./dist/cjs/src/index.js"
            },
            "./styles": "./src/styles/index.scss",
            "./vars": "./src/styles/vars.scss"
        }
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/theorchard/orchard-suite.git"
    },
    "prettier": "@theorchard/prettier-config",
    "eslintConfig": {
        "extends": "@theorchard/react-ts-prettier",
        "rules": {
            "testing-library/no-render-in-lifecycle": "off",
            "jest/no-mocks-import": "off",
            "jest/valid-expect": "off"
        }
    },
    "scripts": {
        "build:cjs": "tsc --build ./tsconfig.cjs.json",
        "build:esm": "tsc --build ./tsconfig.esm.json",
        "build:assets": "cd ../suite-icons && pnpm run build:icons",
        "build": "pnpm run build:assets && pnpm run build:esm && pnpm run build:cjs",
        "clean": "rm -rf dist & rm -rf .cache",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "i18n:init": "frontend-i18n init",
        "i18n:sync": "frontend-i18n sync",
        "i18n:download": "frontend-i18n sync --download-only",
        "lint:css": "stylelint 'src/**/*.scss'",
        "lint:js": "eslint --ext .js,.ts,.tsx,.jsx --cache --cache-location .cache/.eslintcache src",
        "lint": "pnpm lint:css && pnpm lint:js",
        "test:unit": "vitest",
        "test": "pnpm lint && pnpm test:unit"
    },
    "dependencies": {
        "@datadog/browser-rum": "^5.15.0",
        "@sentry/browser": "~7.120.4",
        "@theorchard/constants": "workspace:*",
        "@theorchard/field-validator": "workspace:*",
        "@theorchard/sentry-scrubber": "workspace:*",
        "@theorchard/suite-apollo": "workspace:*",
        "@theorchard/suite-auth": "workspace:*",
        "@theorchard/suite-config": "workspace:*",
        "@theorchard/suite-i18n": "workspace:*",
        "@theorchard/suite-identity": "workspace:*",
        "@theorchard/suite-theming": "workspace:*",
        "@theorchard/suite-utils": "workspace:*",
        "@types/lodash.isequal": "^4.5.8",
        "classnames": "^2.3.1",
        "dayjs": "^1.11.11",
        "html-react-parser": "^5.2.5",
        "lodash.isequal": "^4.5.0",
        "react-idle-timer": "^4.6.4"
    },
    "peerDependencies": {
        "@apollo/client": "3.x",
        "@theorchard/suite-components": ">=10.48.0",
        "@theorchard/suite-icons": ">=3.49.0",
        "react": ">=18.2.0",
        "react-dom": ">=18.2.0",
        "react-router-dom": "5.x"
    },
    "devDependencies": {
        "@apollo/client": "^3.13.9",
        "@segment/analytics-next": "^1.81.1",
        "@theorchard/frontend-cli-i18n": "workspace:*",
        "@theorchard/suite-components": "workspace:*",
        "@theorchard/suite-icons": "workspace:*",
        "@theorchard/vitest-config": "workspace:*",
        "stylelint": "^14.3.0",
        "vitest-location-mock": "^1.0.4"
    }
}
