{
  "name": "@reuters-graphics/graphics-components",
  "version": "4.7.0",
  "type": "module",
  "private": false,
  "homepage": "https://reuters-graphics.github.io/graphics-components",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/reuters-graphics/graphics-components.git"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "license": "MIT",
  "files": [
    "dist",
    "!dist/**/*.stories.*",
    "!dist/**/*.mdx",
    "!dist/**/demo",
    "!dist/docs",
    "!dist/**/*.test.*",
    "!dist/**/*.spec.*",
    "!dist/**/*.mp4",
    "!dist/**/*.mov",
    "!dist/**/images"
  ],
  "engines": {
    "node": "^20.19.0 || >=22.12.0"
  },
  "peerDependencies": {
    "svelte": "^5.0.0"
  },
  "devDependencies": {
    "@changesets/cli": "^2.29.2",
    "@chromatic-com/storybook": "^5.2.1",
    "@reuters-graphics/yaks-eslint": "^0.1.1",
    "@reuters-graphics/yaks-prettier": "^0.1.1",
    "@storybook/addon-a11y": "^10.4.6",
    "@storybook/addon-docs": "^10.4.6",
    "@storybook/addon-svelte-csf": "5.1.2",
    "@storybook/svelte": "^10.4.6",
    "@storybook/sveltekit": "^10.4.6",
    "@sveltejs/package": "^2.5.8",
    "@sveltejs/vite-plugin-svelte": "^7.1.3",
    "@types/css": "^0.0.37",
    "@types/eslint": "^9.6.1",
    "@types/fs-extra": "^11.0.4",
    "@types/google-publisher-tag": "^1.20250210.0",
    "@types/gtag.js": "^0.0.12",
    "@types/lodash-es": "^4.17.12",
    "@types/mdx": "^2.0.13",
    "@types/node": "^22.14.1",
    "@types/prompts": "^2.4.9",
    "@types/proper-url-join": "^2.1.5",
    "@types/pym.js": "^1.3.2",
    "@types/react": "^18.3.20",
    "@types/react-syntax-highlighter": "^15.5.13",
    "chromatic": "^11.28.2",
    "css": "^3.0.0",
    "css-color-converter": "^2.0.0",
    "deep-object-diff": "^1.1.9",
    "eslint": "^9.25.0",
    "eslint-plugin-mdx": "^3.4.0",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-storybook": "^10.4.6",
    "knip": "^5.50.5",
    "mermaid": "^10.9.3",
    "postcss": "^8.5.3",
    "prettier": "^3.5.3",
    "prettier-plugin-svelte": "^3.3.3",
    "prism-themes": "^1.9.0",
    "prop-types": "^15.8.1",
    "publint": "^0.3.12",
    "react": "^18.3.1",
    "react-colorful": "^5.6.1",
    "react-dom": "^18.3.1",
    "react-syntax-highlighter": "^15.6.1",
    "remark-mdx": "^3.1.1",
    "remark-parse": "^11.0.0",
    "remark-stringify": "^11.0.0",
    "rimraf": "^6.0.1",
    "sass": "^1.86.3",
    "storybook": "^10.4.6",
    "svelte": "^5.56.4",
    "svelte-check": "^4.7.1",
    "ts-morph": "^28.0.0",
    "tsx": "^4.22.4",
    "typescript": "^5.8.3",
    "unified": "^11.0.5",
    "unist-util-visit": "^5.1.0",
    "vite": "^8.1.3"
  },
  "dependencies": {
    "@fortawesome/free-regular-svg-icons": "^6.7.2",
    "@fortawesome/free-solid-svg-icons": "^6.7.2",
    "@lottiefiles/dotlottie-web": "^0.52.2",
    "@reuters-graphics/svelte-markdown": "^0.0.3",
    "@sveltejs/kit": "^2.69.1",
    "@types/geojson": "^7946.0.16",
    "dayjs": "^1.11.13",
    "es-toolkit": "^1.35.0",
    "journalize": "^2.6.0",
    "maplibre-gl": "^5.15.0",
    "mp4box": "^0.5.4",
    "pmtiles": "^4.3.2",
    "proper-url-join": "^2.1.2",
    "pym.js": "^1.3.2",
    "slugify": "^1.6.6",
    "storybook-addon-rtl": "^3.0.2",
    "svelte-fa": "^4.0.4",
    "svelte-intersection-observer": "^1.0.0",
    "ua-parser-js": "^2.0.3",
    "vitest": "^4.1.10"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "svelte": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./scss/*": "./dist/scss/*",
    "./llm-docs/*": "./dist/llm-docs/*"
  },
  "llms": {
    "description": [
      "Svelte 5 component library for Reuters Graphics journalism.",
      "Provides components for page layout, text elements, multimedia, maps, and data visualisation,",
      "alongside a full SCSS design system with spacing tokens, typography utilities, colour palettes,",
      "and CSS custom properties for theming."
    ],
    "files": [
      "./dist/llm-docs/**/*"
    ]
  },
  "svelte": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bugs": {
    "url": "https://github.com/reuters-graphics/graphics-components/issues"
  },
  "scripts": {
    "start": "storybook dev -p 3000",
    "lint": "eslint --fix",
    "format": "prettier . --write",
    "generate:llm-docs": "tsx scripts/generate-llm-docs/index.ts",
    "build": "rimraf ./dist && svelte-package -i ./src && pnpm generate:llm-docs && publint",
    "build:docs": "storybook build -o docs",
    "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
    "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
    "changeset:version": "changeset version",
    "changeset:publish": "git add --all && changeset publish",
    "knip": "knip",
    "test": "vitest"
  }
}