{
  "name": "@panzoom/panzoom",
  "version": "4.4.4",
  "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",
  "scripts": {
    "build": "yarn clean && rollup --config && yarn 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 && yarn node tasks/docs.js",
    "format": "eslint . --fix && prettier --write \"**/*.tsx\" \"**/*.ts\" \"**/*.js\" \"**/*.json\" \"**/*.md\"",
    "lint": "concurrently --raw \"eslint .\" \"yarn prettier\" \"yarn typescript\"",
    "minify": "uglifyjs --compress --mangle --comments /Timmy/ --output dist/panzoom.min.js -- dist/panzoom.js && yarn sizeup",
    "prepare": "husky install && yarn build",
    "prettier": "prettier --check \"**/*.md\" \"**/*.json\"",
    "release": "release-it",
    "sizeup": "yarn node tasks/gzipSize.mjs",
    "start": "webpack serve",
    "test": "yarn lint && concurrently \"yarn test:unit\" \"yarn test:node\"",
    "test:unit": "yarn karma start",
    "test:node": "yarn build && yarn node test/test-node.js",
    "test:watch": "yarn karma start --singleRun=false --autoWatch",
    "typescript": "tsc -p tsconfig.json --noEmit"
  },
  "files": [
    "MIT-License.txt",
    "src",
    "dist",
    "README.md"
  ],
  "keywords": [
    "panzoom",
    "pan",
    "zoom",
    "draggable",
    "dragging",
    "drag"
  ],
  "repository": "timmywil/panzoom",
  "license": "MIT",
  "author": {
    "name": "Timmy Willison",
    "email": "4timmywil@gmail.com"
  },
  "devDependencies": {
    "@babel/core": "^7.16.5",
    "@babel/preset-env": "^7.16.5",
    "@commitlint/cli": "^15.0.0",
    "@commitlint/config-conventional": "^15.0.0",
    "@release-it/bumper": "^3.0.1",
    "@release-it/conventional-changelog": "^3.3.0",
    "@types/assert": "^1.5.6",
    "@types/mocha": "^9.0.0",
    "@types/prismjs": "^1.16.6",
    "@types/react": "^17.0.37",
    "@types/react-dom": "^17.0.11",
    "@types/semver": "^7.3.9",
    "@typescript-eslint/eslint-plugin": "^5.8.0",
    "@typescript-eslint/parser": "^5.8.0",
    "commitlint": "^15.0.0",
    "concurrently": "^6.5.1",
    "conventional-changelog-conventionalcommits": "^4.6.1",
    "cross-env": "^7.0.3",
    "css-loader": "^6.5.1",
    "eslint": "^8.5.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-react": "^7.27.1",
    "gzip-size": "^7.0.0",
    "html-webpack-plugin": "^5.5.0",
    "husky": "^7.0.4",
    "karma": "^6.3.9",
    "karma-firefox-launcher": "^2.1.2",
    "karma-mocha": "^2.0.1",
    "karma-typescript": "^5.5.2",
    "marked": "^4.0.8",
    "mocha": "^9.1.3",
    "prettier": "^2.5.1",
    "prismjs": "^1.25.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "release-it": "^14.11.8",
    "rollup": "^2.61.1",
    "rollup-plugin-typescript2": "^0.31.1",
    "semver": "^7.3.5",
    "style-loader": "^3.3.1",
    "ts-loader": "^9.2.6",
    "tslib": "^2.3.1",
    "typedoc": "^0.22.10",
    "typedoc-plugin-markdown": "^3.11.8",
    "typescript": "~4.4.4",
    "uglify-js": "^3.14.5",
    "webpack": "^5.65.0",
    "webpack-cli": "^4.9.1",
    "webpack-dev-server": "^4.6.0"
  },
  "prettier": {
    "printWidth": 100,
    "semi": false,
    "singleQuote": true,
    "arrowParens": "always",
    "trailingComma": "none"
  },
  "eslintConfig": {
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint",
      "react",
      "prettier"
    ],
    "extends": [
      "plugin:@typescript-eslint/recommended",
      "plugin:react/recommended",
      "prettier"
    ],
    "parserOptions": {
      "ecmaVersion": 2018,
      "sourceType": "module",
      "project": "./tsconfig.json",
      "extraFileExtensions": [
        ".mjs",
        ".cjs"
      ],
      "ecmaFeatures": {
        "jsx": true
      }
    },
    "globals": {
      "ga": "readonly"
    },
    "settings": {
      "react": {
        "version": "detect"
      }
    },
    "rules": {
      "no-unused-vars": "off",
      "prettier/prettier": "error",
      "@typescript-eslint/explicit-function-return-type": 0,
      "@typescript-eslint/no-var-requires": 0,
      "@typescript-eslint/no-use-before-define": 0,
      "@typescript-eslint/no-explicit-any": 0,
      "@typescript-eslint/explicit-module-boundary-types": 0,
      "@typescript-eslint/no-unused-vars": [
        "error",
        {
          "args": "after-used",
          "argsIgnorePattern": "^_"
        }
      ]
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "coverage/",
    "demo/demo/",
    "demo/panzoom.js",
    "dist/",
    "docs/"
  ],
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "header-max-length": [
        2,
        "always",
        80
      ]
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "release-it": {
    "hooks": {
      "before:init": "yarn test",
      "after:bump": "yarn docs && git add README.md && git add dist/panzoom.* dist/src/ -f",
      "after:git:release": "git rm -r --cached dist/ && git commit -n -m 'chore(release): remove dist after release' && git push"
    },
    "git": {
      "commitMessage": "chore: release ${version}",
      "tagName": "${version}"
    },
    "npm": {
      "publish": true
    },
    "github": {
      "release": true,
      "tokenRef": "PERSONAL_WEBSITE_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"
            }
          ]
        }
      }
    }
  },
  "packageManager": "yarn@3.2.0-rc.8"
}
