{
  "name": "@panzoom/panzoom",
  "version": "4.6.2",
  "description": "Pan and zoom elements anywhere using native transformations",
  "main": "dist/panzoom.js",
  "module": "dist/panzoom.es.js",
  "source": "src/panzoom",
  "types": "dist/src/panzoom.d.ts",
  "type": "module",
  "scripts": {
    "build": "npm run clean && rollup --config && npm run minify",
    "clean": "rm -rf dist/",
    "demo": "webpack --mode production",
    "docs": "typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs --out docs --readme none src/panzoom.ts src/types.ts && node tasks/docs.js",
    "format": "eslint . --fix && prettier --write \"**/*.tsx\" \"**/*.ts\" \"**/*.js\" \"**/*.json\" \"**/*.md\"",
    "lint": "concurrently --raw \"eslint .\" \"npm run prettier\" \"npm run typescript\"",
    "minify": "uglifyjs --compress --mangle --comments /Timmy/ --output dist/panzoom.min.js -- dist/panzoom.js && npm run sizeup",
    "prepare": "husky && npm run build",
    "prettier": "prettier --check \"**/*.md\" \"**/*.json\"",
    "release": "release-it",
    "sizeup": "node tasks/gzipSize.mjs",
    "start": "webpack serve",
    "test": "npm run lint && concurrently \"npm run test:unit -- --headless\" \"npm run test:node\"",
    "test:unit": "npm run typescript:tests && jtr",
    "test:node": "npm run build && node test/test-node.cjs",
    "typescript": "tsc -p tsconfig.json",
    "typescript:tests": "tsc -p test/tsconfig.json"
  },
  "files": [
    "MIT-License.txt",
    "src",
    "dist",
    "README.md"
  ],
  "keywords": [
    "panzoom",
    "pan",
    "zoom",
    "draggable",
    "dragging",
    "drag"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/timmywil/panzoom.git"
  },
  "license": "MIT",
  "author": {
    "name": "Timmy Willison",
    "email": "timmywil@users.noreply.github.com"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.5.0",
    "@commitlint/config-conventional": "^20.5.0",
    "@release-it/bumper": "7.0.5",
    "@release-it/conventional-changelog": "10.0.6",
    "@types/assert": "^1.5.11",
    "@types/prismjs": "^1.26.6",
    "@types/qunit": "^2.19.13",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "@types/semver": "^7.7.1",
    "@typescript-eslint/eslint-plugin": "^8.58.0",
    "@typescript-eslint/parser": "^8.58.0",
    "commitlint": "^20.5.0",
    "concurrently": "^9.2.1",
    "conventional-changelog-conventionalcommits": "^9.3.1",
    "cross-env": "^10.1.0",
    "css-loader": "^7.1.4",
    "eslint": "^9.39.4",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-react": "^7.37.5",
    "gzip-size": "^7.0.0",
    "html-webpack-plugin": "^5.6.6",
    "husky": "^9.1.7",
    "jquery-test-runner": "^0.3.0",
    "marked": "^17.0.5",
    "prettier": "^3.8.1",
    "prismjs": "^1.30.0",
    "qunit": "^2.25.0",
    "react": "^19.2.4",
    "react-dom": "^19.2.4",
    "release-it": "19.2.4",
    "rollup": "^4.60.1",
    "rollup-plugin-typescript2": "^0.37.0",
    "semver": "^7.7.4",
    "style-loader": "^4.0.0",
    "ts-loader": "^9.5.7",
    "tslib": "^2.8.1",
    "typedoc": "^0.28.18",
    "typedoc-plugin-markdown": "^4.11.0",
    "typescript": "~6.0.2",
    "uglify-js": "^3.19.3",
    "webpack": "^5.105.4",
    "webpack-cli": "^7.0.2",
    "webpack-dev-server": "^5.2.3"
  },
  "prettier": {
    "printWidth": 100,
    "semi": false,
    "singleQuote": true,
    "arrowParens": "always",
    "trailingComma": "none"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "header-max-length": [
        2,
        "always",
        80
      ]
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "release-it": {
    "hooks": {
      "before:init": "npm test",
      "after:bump": "npm run build && npm run docs && git add README.md && git add dist/panzoom.* dist/src/ -f",
      "after:git:release": "git rm -r --cached dist/ && git commit -m \"chore(release): remove dist after release\" -n && git push"
    },
    "git": {
      "commitMessage": "chore: release ${version}",
      "tagName": "${version}"
    },
    "npm": {
      "publish": true
    },
    "github": {
      "release": true,
      "tokenRef": "PANZOOM_GITHUB_TOKEN"
    },
    "plugins": {
      "@release-it/bumper": {
        "out": "README.md"
      },
      "@release-it/conventional-changelog": {
        "preset": {
          "name": "conventionalcommits",
          "types": [
            {
              "type": "feat",
              "section": "Features"
            },
            {
              "type": "fix",
              "section": "Bug Fixes"
            },
            {
              "type": "perf",
              "section": "Performance Improvements"
            }
          ]
        }
      }
    }
  }
}
