{
  "name": "@regna-verkt/ui",
  "version": "0.2.4",
  "description": "Embeddable React widgets: financial data, ownership records, and news for companies across SE, NO, FI, DK, UK, US.",
  "license": "MIT",
  "homepage": "https://regnaverkt.com",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/regna-tech/brain.git",
    "directory": "packages/regna-ui"
  },
  "bugs": {
    "url": "https://github.com/regna-tech/brain/issues"
  },
  "type": "module",
  "main": "./dist/regna-ui.cjs",
  "module": "./dist/regna-ui.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/regna-ui.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/regna-ui.cjs"
      },
      "default": "./dist/regna-ui.js"
    },
    "./hooks": {
      "import": {
        "types": "./dist/hooks/index.d.ts",
        "default": "./dist/regna-ui-hooks.js"
      },
      "require": {
        "types": "./dist/hooks/index.d.cts",
        "default": "./dist/regna-ui-hooks.cjs"
      },
      "default": "./dist/regna-ui-hooks.js"
    },
    "./theme.css": "./dist/assets/ui.css",
    "./package.json": "./package.json"
  },
  "sideEffects": [
    "**/*.css"
  ],
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "scripts": {
    "dev": "vite build --watch",
    "build": "npm run typecheck && vite build && npm run build:flatten-dts && npm run build:strip-ts-ext && npm run build:dts-cts",
    "build:flatten-dts": "[ -d dist/src ] && (cp -R dist/src/. dist/ && rm -rf dist/src) || true",
    "build:strip-ts-ext": "node ../../scripts/regna-ui-fix-dts-extensions.mjs dist",
    "build:dts-cts": "find dist -name '*.d.ts' -not -name '*.d.cts' -exec sh -c 'cp \"$1\" \"${1%.d.ts}.d.cts\"' _ {} \\;",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit -p .",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
    "publint": "publint --strict",
    "attw": "attw --pack . --profile node16 --exclude-entrypoints ./theme.css"
  },
  "peerDependencies": {
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0"
  },
  "dependencies": {
    "recharts": "^3.7.0"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.18.0",
    "@eslint/js": "^9.39.4",
    "@storybook/addon-a11y": "^10.3.5",
    "@storybook/addon-docs": "^10.3.5",
    "@storybook/react": "^10.3.5",
    "@storybook/react-vite": "^10.3.5",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "@vitest/ui": "^4.1.4",
    "eslint": "^10.0.0",
    "eslint-plugin-react-hooks": "^7.0.1",
    "globals": "^17.4.0",
    "jsdom": "^29.0.2",
    "publint": "^0.3.0",
    "storybook": "^10.3.5",
    "typescript": "~6.0.2",
    "typescript-eslint": "^8.58.0",
    "vite": "^8.0.4",
    "vite-plugin-dts": "^4.5.0",
    "vitest": "^4.1.4"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "regna",
    "regna-verkt",
    "financial-data",
    "fundamental-data",
    "market-data",
    "market-api",
    "stock-market",
    "ownership-data",
    "annual-reports",
    "quarterly-reports",
    "ixbrl",
    "10-k",
    "edgar",
    "bolagsverket",
    "companies-house",
    "brreg",
    "prh",
    "cvr",
    "company-data",
    "private-companies",
    "listed-companies",
    "news-feed",
    "sweden",
    "norway",
    "finland",
    "denmark",
    "united-kingdom",
    "united-states",
    "nordic",
    "fintech",
    "investing",
    "mcp",
    "ai-agents",
    "react",
    "widgets",
    "web-components",
    "embeddable"
  ]
}
