{
  "name": "@amboss/design-system",
  "version": "3.42.1",
  "description": "the design system for AMBOSS products",
  "author": "AMBOSS",
  "license": "ISC",
  "workspaces": [
    "packages/*"
  ],
  "main": "build/cjs/index.js",
  "module": "build/esm/index.js",
  "exports": {
    ".": {
      "types": "./build/esm/index.d.ts",
      "import": "./build/esm/index.js",
      "require": "./build/esm/index.js"
    },
    "./esm": {
      "types": "./build/esm/index.d.ts",
      "import": "./build/esm/index.js",
      "require": "./build/esm/index.js"
    },
    "./esm/*": {
      "types": "./build/esm/*.d.ts",
      "import": "./build/esm/*.js",
      "require": "./build/esm/*.js"
    },
    "./cjs": {
      "types": "./build/cjs/index.d.ts",
      "import": "./build/cjs/index.js",
      "require": "./build/cjs/index.js"
    },
    "./cjs/*": {
      "types": "./build/cjs/*.d.ts",
      "import": "./build/cjs/*.js",
      "require": "./build/cjs/*.js"
    },
    "./scss/*": "./build/scss/*.scss"
  },
  "sideEffects": false,
  "bugs": {
    "url": "https://github.com/amboss-mededu/amboss-design-system/issues"
  },
  "browser": {
    "./node_modules/@storybook/client-api": "./node_modules/@storybook/client-api/dist/esm/index.js",
    "./node_modules/@storybook/client-logger": "./node_modules/@storybook/client-logger/dist/esm/index.js"
  },
  "files": [
    "build/**/*"
  ],
  "lint-staged": {
    "{src,packages/design-tokens/src,.storybook,test-utils}/**/*.{js,jsx,ts,tsx}": [
      "prettier --write",
      "eslint --fix"
    ],
    "packages/design-tokens/style-dictionary/**/*.{js,ts}": [
      "prettier --write"
    ],
    "{src,packages/design-tokens/src,.storybook,test-utils}/**/*.mdx": [
      "prettier --write"
    ],
    "{assets/icons/*,packages/design-tokens/src/web/assets.json}": [
      "bun run icons:optimize"
    ]
  },
  "auto": {
    "plugins": [
      "npm",
      [
        "released",
        {
          "includeBotPrs": true
        }
      ]
    ]
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "engines": {
    "node": "24.13.1"
  },
  "scripts": {
    "prepare": "husky",
    "clean": "rimraf build src/web-tokens",
    "build": "./scripts/build.sh",
    "predev": "bun run tokens:web",
    "dev": "bun run tokens:watch & bun run storybook",
    "static": "http-server storybook-static/ -p 6006",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "bun run tokens:web && bun run generate-llms-txt && storybook build --stats-json",
    "generate-llms-txt": "[ -d storybook-static ] || storybook build --stats-json && bun run generate-llms-txt:run",
    "generate-llms-txt:run": "node --experimental-strip-types scripts/generate-llms-txt.mts",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:coverage": "TZ=Europe/Berlin jest --coverage",
    "test:ci": "NODE_OPTIONS=\"--max-old-space-size=6144\" bun run test:coverage -- --ci --maxWorkers=2 --reporters=jest-junit",
    "test-a11y": "vitest --project=storybook",
    "tokens:web": "bun run --filter @amboss/design-tokens build:web",
    "tokens:web:ts": "bun run --filter @amboss/design-tokens build:web:ts",
    "tokens:android": "bun run --filter @amboss/design-tokens build:android",
    "tokens:ios": "bun run --filter @amboss/design-tokens build:ios",
    "tokens:watch": "chokidar \"packages/design-tokens/src/**/*.json\" \"packages/design-tokens/style-dictionary/**/*.*\" -c \"bun run tokens:web\"",
    "tokens:prettier": "prettier --write \"build-tokens/*.(t|j)s*\"",
    "chromatic": "bunx chromatic --project-token ${CHROMATIC_TOKEN} --exit-zero-on-changes --only-changed --externals 'packages/design-tokens/src/**/*'",
    "chromatic:ci": "bunx chromatic --project-token ${CHROMATIC_TOKEN} -d 'storybook-static' --zip --skip 'dependabot/**' --exit-zero-on-changes --exit-once-uploaded --only-changed --externals 'packages/design-tokens/src/**/*'",
    "chromatic:master": "bunx chromatic --project-token ${CHROMATIC_TOKEN} -d 'storybook-static' --zip --auto-accept-changes --only-changed --exit-once-uploaded --externals 'packages/design-tokens/src/**/*'",
    "lint": "bun run lint:eslint && bun run lint:prettier",
    "lint:eslint": "eslint -c .eslintrc --fix src .storybook test-utils --no-error-on-unmatched-pattern scripts/**/*.{js,ts,mts}",
    "lint:prettier": "prettier --write \"{src,packages/design-tokens/src,packages/design-tokens/style-dictionary,.storybook,test-utils}/**/*.{js,jsx,ts,tsx,mdx}\"",
    "component": "DS_ROOT=/src/components DS_COMP_FOLDER=/components node scripts/createComponent/createComponent.js",
    "link-ds": "./scripts/link-ds.sh",
    "icons:ios": "node --experimental-strip-types ./scripts/svg-to-pdf.mts",
    "icons:android": "node --experimental-strip-types ./scripts/svg-to-xml.mts",
    "icons:optimize": "svgo -rf assets/icons -o assets/icons"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/amboss-mededu/amboss-design-system.git"
  },
  "keywords": [
    "design-system",
    "ui-library",
    "components",
    "emotion.js",
    "typescript"
  ],
  "dependencies": {
    "@react-aria/interactions": "^3.27.0",
    "@swc/helpers": "~0.5.17",
    "@vitejs/plugin-react-swc": "~3.10.1",
    "focus-trap-react": "^10.2.3",
    "imask": "^7.4.0",
    "runtypes": "^6.7.0",
    "svgo": "^3.3.3"
  },
  "peerDependencies": {
    "@emotion/cache": "^11.14.0",
    "@emotion/is-prop-valid": "^1.3.1",
    "@emotion/react": "^11.14.0",
    "@emotion/styled": "^11.14.0",
    "emotion-theming": "^11.0.0",
    "react": ">=16.8.0 <20.0.0",
    "react-dom": ">=16.8.0 <20.0.0"
  },
  "overrides": {
    "storybook": "$storybook",
    "cross-spawn": ">=7.0.6",
    "glob": "~10.5.0",
    "@isaacs/brace-expansion": ">=5.0.1",
    "qs": ">=6.14.2",
    "ajv": ">=6.14.0 <7.0.0",
    "micromatch": ">=4.0.8",
    "brace-expansion": ">=2.0.2",
    "diff": ">=5.2.2",
    "lodash": "~4.18.1",
    "rollup": ">=4.59.0",
    "@octokit/request": "~8.4.1",
    "@octokit/request-error": "~5.1.1",
    "@octokit/plugin-paginate-rest": "~9.2.2",
    "@vitejs/plugin-react-swc": "~3.10.1",
    "@swc/helpers": "~0.5.17",
    "@swc/core": "~1.11.31",
    "test-exclude": "~7.0.1"
  },
  "devDependencies": {
    "@auto-it/npm": "^11.1.6",
    "@auto-it/released": "^10.13.2",
    "@emotion/jest": "^11.11.0",
    "@storybook/addon-a11y": "10.2.14",
    "@storybook/addon-docs": "10.2.14",
    "@storybook/addon-links": "10.2.14",
    "@storybook/addon-vitest": "10.2.14",
    "@storybook/react-vite": "10.2.14",
    "@swc/cli": "^0.1.65",
    "@swc/core": "~1.11.31",
    "@swc/plugin-emotion": "^9.0.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/jest": "^29.5.3",
    "@types/react": "^18.3.5",
    "@types/react-dom": "^18.3.0",
    "@typescript-eslint/eslint-plugin": "^8.46.0",
    "@typescript-eslint/parser": "^8.46.0",
    "@vitest/browser": "^3.2.4",
    "@vitest/coverage-v8": "^3.2.4",
    "auto": "^11.1.6",
    "browserslist": "^4.22.2",
    "chokidar-cli": "^3.0.0",
    "chromatic": "^13.3.3",
    "copyfiles": "^2.4.1",
    "csstype": "^3.1.3",
    "eslint": "^8.57.1",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-prettier": "^7.1.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-css-modules": "^2.11.0",
    "eslint-plugin-import": "^2.21.2",
    "eslint-plugin-jsx-a11y": "^6.3.1",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-react": "^7.20.0",
    "eslint-plugin-react-hooks": "^4.0.4",
    "http-server": "^14.1.1",
    "husky": "^9.1.7",
    "identity-obj-proxy": "^3.0.0",
    "inquirer": "^8.1.2",
    "jest": "^29.6.2",
    "jest-environment-jsdom": "^29.6.2",
    "jest-junit": "^16.0.0",
    "lint-staged": "^13.2.2",
    "lodash": "~4.18.1",
    "markdown-to-jsx": "^9.7.6",
    "pdfkit": "^0.15.0",
    "playwright": "^1.56.1",
    "prettier": "^2.2.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "storybook": "10.2.14",
    "style-dictionary": "^3.8.0",
    "svg-to-pdfkit": "^0.1.8",
    "tinycolor2": "^1.6.0",
    "ts-jest": "^29.1.1",
    "typescript": "^5.3.3",
    "vd-tool": "^4.0.2",
    "vitest": "^3.2.4"
  },
  "homepage": "https://github.com/amboss-mededu/amboss-design-system#readme",
  "packageManager": "bun@1.3.9"
}
