{
  "name": "html2canvas-pro",
  "description": "Screenshots with JavaScript. Next generation!",
  "type": "module",
  "main": "dist/html2canvas-pro.js",
  "module": "dist/html2canvas-pro.esm.js",
  "typings": "dist/types/index.d.ts",
  "browser": "dist/html2canvas-pro.js",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/html2canvas-pro.esm.js",
      "require": "./dist/html2canvas-pro.js",
      "default": "./dist/html2canvas-pro.esm.js"
    }
  },
  "version": "1.6.6",
  "author": {
    "name": "yorickshan",
    "email": "yorickshan@gmail.com",
    "url": "https://github.com/yorickshan"
  },
  "license": "MIT",
  "keywords": [
    "html2canvas",
    "screenshot"
  ],
  "engines": {
    "node": ">=16.0.0"
  },
  "homepage": "https://yorickshan.github.io/html2canvas-pro/",
  "repository": {
    "type": "git",
    "url": "https://github.com/yorickshan/html2canvas-pro"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.3.0",
    "@commitlint/config-conventional": "^20.2.0",
    "@rollup/plugin-commonjs": "^29.0.0",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-typescript": "^12.3.0",
    "@types/chai": "^5.2.3",
    "@types/express": "^5.0.6",
    "@types/filenamify-url": "^2.0.1",
    "@types/glob": "^9.0.0",
    "@types/jest": "^29.5.12",
    "@types/jest-image-snapshot": "^6.4.0",
    "@types/karma": "^6.3.0",
    "@types/mkdirp": "^2.0.0",
    "@types/mocha": "^10.0.7",
    "@types/node": "^25.0.3",
    "@types/platform": "^1.3.4",
    "@types/promise-polyfill": "^6.0.3",
    "@types/serve-index": "^1.9.4",
    "@typescript-eslint/eslint-plugin": "^8.50.0",
    "@typescript-eslint/parser": "^8.50.0",
    "appium-ios-simulator": "^8.0.9",
    "base64-arraybuffer": "1.0.2",
    "body-parser": "^2.2.1",
    "chai": "6.2.2",
    "conventional-changelog-cli": "^5.0.0",
    "cors": "^2.8.5",
    "cz-conventional-changelog": "^3.3.0",
    "es6-promise": "^4.2.8",
    "eslint": "^9.13.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.4",
    "express": "^5.2.1",
    "filenamify-url": "4.0.0",
    "glob": "^13.0.0",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^30.2.0",
    "jest-image-snapshot": "^6.4.0",
    "jquery": "^3.5.1",
    "js-polyfills": "^0.1.42",
    "karma": "^6.3.2",
    "karma-chrome-launcher": "^3.1.0",
    "karma-edge-launcher": "^0.4.2",
    "karma-firefox-launcher": "^2.1.0",
    "karma-ie-launcher": "^1.0.0",
    "karma-junit-reporter": "^2.0.1",
    "karma-mocha": "^2.0.1",
    "karma-safarinative-launcher": "^1.1.0",
    "karma-sauce-launcher": "^4.3.6",
    "lint-staged": "^16.2.7",
    "mocha": "^11.7.5",
    "node-simctl": "^8.1.2",
    "platform": "^1.3.6",
    "prettier": "^3.3.3",
    "puppeteer": "^24.34.0",
    "replace-in-file": "^8.4.0",
    "rimraf": "^6.0.1",
    "rollup": "^4.24.2",
    "rollup-plugin-sourcemaps": "^0.6.3",
    "serve-index": "^1.9.1",
    "slash": "5.1.0",
    "standard-version": "^9.5.0",
    "ts-jest": "^29.1.5",
    "ts-node": "^10.9.2",
    "tslib": "^2.3.0",
    "typescript": "^5.5.4",
    "uglify-js": "^3.13.10",
    "vitepress": "^1.3.0",
    "yargs": "^18.0.0"
  },
  "scripts": {
    "prebuild": "rimraf dist/ && rimraf build/ && mkdirp dist && mkdirp build",
    "build": "tsc --module commonjs && npx tsx --tsconfig tsconfig.json ./node_modules/.bin/rollup -c rollup.config.ts && npm run build:create-reftest-list && npx tsx --tsconfig tests/tsconfig.json ./node_modules/.bin/rollup -c tests/rollup.config.ts && npm run build:minify",
    "build:testrunner": "npx tsx --tsconfig tests/tsconfig.json ./node_modules/.bin/rollup -c tests/rollup.config.ts",
    "build:minify": "uglifyjs --compress --comments /^!/ -o dist/html2canvas-pro.min.js --mangle -- dist/html2canvas-pro.js",
    "build:reftest-result-list": "npx tsx scripts/create-reftest-result-list.ts",
    "build:create-reftest-list": "npx tsx scripts/create-reftest-list.ts tests/reftests/ignore.txt build/reftests.js",
    "release": "sh scripts/version-upgrade.sh",
    "format": "prettier --write \"{src,tests,scripts}/**/*.ts\"",
    "lint": "eslint src/**/*.ts --max-warnings 0",
    "test": "npm run lint && npm run unittest && npm run karma",
    "unittest": "jest",
    "reftests-diff": "mkdirp tmp/snapshots && jest --roots=tests --testMatch=**/reftest-diff.ts",
    "karma": "npx tsx tests/karma",
    "watch": "rollup -c rollup.config.ts -w",
    "watch:unittest": "mocha --require tsx/register --watch-extensions ts -w src/**/__tests__/*.ts",
    "start": "npx tsx tests/server --port=8080 --cors=8081",
    "commitlint": "commitlint --config .commitlintrc.json -e -V",
    "tag": "sh scripts/create-tag.sh",
    "prepare": "if [ \"$SKIP_PREPARE\" != \"true\" ]; then husky install; fi",
    "docs:dev": "vitepress dev docs",
    "docs:build": "vitepress build docs",
    "docs:preview": "vitepress preview docs"
  },
  "dependencies": {
    "css-line-break": "^2.1.0",
    "text-segmentation": "^1.0.3"
  },
  "lint-staged": {
    "{src,tests}/**/*.ts": [
      "prettier --write",
      "eslint --fix"
    ]
  }
}
