{
  "name": "@linkurious/ogma-annotations-react",
  "version": "1.1.27",
  "description": "A react component to add ogma annotations with  react",
  "type": "module",
  "main": "dist/index.mjs",
  "module": "dist/index.mjs",
  "browser": "dist/index.js",
  "types": "dist/types/index.d.ts",
  "files": [
    "dist"
  ],
  "sideEffects": [
    "dist/**/*.css"
  ],
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.js",
      "default": "./dist/index.mjs",
      "types": "./dist/types/index.d.ts"
    },
    "./umd": "./dist/index.js",
    "./esm": "./dist/index.mjs"
  },
  "scripts": {
    "dev": "vite -c web/vite.config.mts",
    "build": "tsc --p ./tsconfig-build.json && vite build --mode production",
    "postversion": "npm i --save-peer @linkurious/ogma-annotations@${npm_new_version}",
    "bump:patch": "bump2version patch && npm version --no-git-tag-version patch",
    "bump:minor": "bump2version minor && npm version --no-git-tag-version minor",
    "bump:major": "bump2version major && npm version --no-git-tag-version major",
    "docs:build": "vite build -c web/vite.config.mts",
    "postdocs:build": "bash scripts/postdocs.sh",
    "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "lint:ci": "eslint -f checkstyle -o reports/checkstyle.xml --ext ts,tsx src",
    "test:unit": "vitest run",
    "test": "npm run test:unit"
  },
  "publishConfig": {
    "access": "public"
  },
  "private": false,
  "keywords": [
    "react",
    "ogma",
    "annotations",
    "text",
    "arrow"
  ],
  "author": "Linkurious SAS",
  "license": "Apache-2.0",
  "peerDependencies": {
    "@linkurious/ogma": ">=4.5.6 || ^5.0.0",
    "@linkurious/ogma-annotations": "^1.1.27",
    "@linkurious/ogma-react": ">=5",
    "react": ">=17"
  },
  "devDependencies": {
    "@linkurious/eslint-config-ogma": "^1.0.14",
    "@testing-library/react": "16.2.0",
    "@types/react": "18.3.1",
    "@types/react-dom": "18.3.1",
    "@vitejs/plugin-react": "4.5.1",
    "eslint": "8.56.0",
    "eslint-plugin-react-hooks": "4.6.0",
    "eslint-plugin-react-refresh": "0.4.5",
    "iconoir-react": "^7.10.1",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "typescript": "5.3.3",
    "vite": "6.3.5",
    "vite-plugin-dts": "4.5.1",
    "vite-plugin-lib-inject-css": "1.3.0",
    "vitest": "3.0.7"
  },
  "eslintConfig": {
    "extends": [
      "@linkurious/eslint-config-ogma",
      "plugin:react-hooks/recommended"
    ],
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "react-refresh"
    ],
    "rules": {
      "react-refresh/only-export-components": [
        "warn",
        {
          "allowConstantExport": true
        }
      ]
    }
  }
}
