{
  "name": "svg-toolbelt",
  "version": "0.7.0",
  "type": "module",
  "description": "A lightweight, zero-dependency library to add zoom, pan, touch, keyboard, and export support to any SVG.",
  "author": "Zakaria Fatahi <zakaria.fatahi@gmail.com>",
  "license": "MIT",
  "homepage": "https://zakariaf.github.io/svg-toolbelt",
  "repository": {
    "type": "git",
    "url": "https://github.com/zakariaf/svg-toolbelt.git"
  },
  "bugs": {
    "url": "https://github.com/zakariaf/svg-toolbelt/issues"
  },
  "main": "dist/index.js",
  "module": "dist/svg-toolbelt.esm.js",
  "types": "dist/index.d.ts",
  "unpkg": "dist/svg-toolbelt.cjs.production.min.js",
  "files": [
    "dist",
    "src"
  ],
  "keywords": [
    "svg",
    "zoom",
    "pan",
    "touch",
    "typescript",
    "svg-toolbelt",
    "svg-pan",
    "mermaid",
    "d3",
    "diagrams",
    "visualization"
  ],
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "dev": "vite build --watch",
    "build": "vite build",
    "serve": "node demo/serve.cjs",
    "demo": "npm run build && npm run serve",
    "test": "vitest",
    "test:coverage": "npm run test -- --coverage",
    "lint": "eslint src test --ext .ts,.tsx",
    "lint:fix": "eslint src test --ext .ts,.tsx --fix",
    "type-check": "tsc --noEmit",
    "prepare": "husky",
    "prepublishOnly": "npm run lint && npm run type-check && npm test -- --run && npm run test:coverage && npm audit && npm run build",
    "size": "size-limit",
    "analyze": "size-limit --why",
    "release:patch": "npm version patch && git push origin main --tags",
    "release:minor": "npm version minor && git push origin main --tags",
    "release:major": "npm version major && git push origin main --tags"
  },
  "prettier": {
    "printWidth": 80,
    "semi": true,
    "singleQuote": true,
    "trailingComma": "es5"
  },
  "size-limit": [
    {
      "path": "dist/svg-toolbelt.cjs.production.min.js",
      "limit": "10 KB"
    },
    {
      "path": "dist/svg-toolbelt.esm.js",
      "limit": "10 KB"
    }
  ],
  "devDependencies": {
    "@eslint/js": "^9.0.0",
    "@size-limit/preset-small-lib": "^11.2.0",
    "@types/jsdom": "^21.1.7",
    "@types/node": "^22.0.0",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "@vitest/coverage-v8": "^3.2.1",
    "eslint": "^9.0.0",
    "globals": "^15.0.0",
    "husky": "^9.1.7",
    "jsdom": "^25.0.0",
    "size-limit": "^11.2.0",
    "typescript": "^5.8.3",
    "vite": "^6.0.0",
    "vite-plugin-dts": "^4.0.0",
    "vitest": "^3.2.1"
  }
}
