@linkurious/ogma-annotations-react
Version:
A react component to add ogma annotations with react
86 lines (85 loc) • 2.54 kB
JSON
{
"name": "@linkurious/ogma-annotations-react",
"version": "2.1.0",
"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": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.mjs"
},
"./umd": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./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 @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": "typedoc && vite build -c web/vite.config.mts",
"postdocs:build": "bash scripts/postdocs.sh",
"lint": "npx oxlint -c oxlint.json src web",
"lint:ci": "mkdir -p reports && npx oxlint -c oxlint.json -f checkstyle src web > reports/checkstyle.xml",
"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": ">=5.3.11",
"react": ">=17"
},
"devDependencies": {
"@linkurious/eslint-config-ogma": "2.1.0",
"@testing-library/react": "16.2.0",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"@vitejs/plugin-react": "4.5.1",
"lucide-react": "0.562.0",
"oxlint": "0.16.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"typedoc": "0.28.15",
"typedoc-plugin-markdown": "4.9.0",
"typedoc-vitepress-theme": "1.1.2",
"typescript": "5.3.3",
"vanilla-colorful": "0.7.2",
"vite": "6.4.3",
"vite-plugin-dts": "4.5.1",
"vite-plugin-lib-inject-css": "1.3.0",
"vitest": "3.2.6"
},
"dependencies": {
"@linkurious/ogma-annotations": "2.1.0",
"@linkurious/ogma-react": "5.1.15"
}
}