UNPKG

@linkurious/ogma-annotations

Version:
121 lines (120 loc) 3.49 kB
{ "name": "@linkurious/ogma-annotations", "version": "2.0.3", "description": "Headless annotation plugin for Ogma", "type": "module", "main": "dist/index.mjs", "module": "dist/index.mjs", "browser": "dist/index.js", "types": "dist/types/index.d.ts", "style": "dist/ogma-annotations.css", "files": [ "dist/*.mjs", "dist/*.js", "dist/**/*.css", "dist/types" ], "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.mjs" }, "./style.css": { "style": { "default": "./src/style.css" }, "import": { "types": "./src/style.d.ts", "default": "./src/style.css" }, "require": { "types": "./src/style.d.ts", "default": "./src/style.css" } }, "./umd": { "types": "./dist/types/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" }, "./esm": "./dist/index.mjs" }, "scripts": { "prepare": "playwright install", "start": "npm run dev", "dev": "vite -c web/vite.config.mts", "build:demo": "vite build -c web/vite.config.mts", "prebuild": "rm -rf dist", "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", "build": "vite build", "lint": "npx oxlint -c oxlint.json src", "lint:ci": "mkdir -p reports && npx oxlint -c oxlint.json -f checkstyle src > reports/checkstyle.xml", "types": "tsc --d -emitDeclarationOnly --outDir dist/types", "preview": "vite preview", "docs:build": "typedoc && node scripts/organize-sidebar.mjs", "postdocs:build": "npm run build:demo", "test": "npm run test:unit", "test:unit": "vitest run -c test/unit/vitest.config.mts", "test:watch": "vitest watch -c test/unit/vitest.config.mts", "test:benchmark": "vitest bench --run", "test:e2e": "vitest run -c test/e2e/vitest.config.mts", "test:e2e:watch": "vitest watch -c test/e2e/vitest.config.mts" }, "publishConfig": { "access": "public" }, "private": false, "repository": { "type": "git", "url": "git+https://github.com/Linkurious/ogma-annotations-control.git" }, "homepage": "https://linkurious.github.io/ogma-annotations-control/", "keywords": [ "annotations", "headless", "arrow", "ogma", "text", "graph", "visualization" ], "author": "Linkurious SAS", "license": "Apache-2.0", "peerDependencies": { "@linkurious/ogma": ">=5.3.11" }, "dependencies": { "@borgar/textbox": "1.8.0", "eventemitter3": "5.0.1", "geojson": "0.5.0", "rbush": "4.0.1", "zundo": "2.3.0", "zustand": "5.0.7" }, "devDependencies": { "@linkurious/eslint-config-ogma": "2.1.0", "oxlint": "0.16.0", "@types/geojson": "7946.0.13", "@types/rbush": "4.0.0", "get-port": "7.0.0", "jsdom": "24.0.0", "playwright": "1.57.0", "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.3.5", "vite-plugin-dts": "^4.1.0", "vitest": "3.2.4", "vitest-canvas-mock": "1.1.3" }, "prettier": { "printWidth": 80, "trailingComma": "none" } }