{
  "name": "@cantoo/pdf-lib",
  "version": "2.11.1",
  "description": "Create and modify PDF files with JavaScript",
  "author": "Andrew Dillon <andrew.dillon.j@gmail.com>",
  "packageManager": "yarn@1.22.19",
  "exports": {
    ".": {
      "types": "./cjs/index.d.ts",
      "require": "./cjs/index.js",
      "import": "./es/index.js"
    },
    "./upng": {
      "types": "./dist/upng/index.d.ts",
      "import": "./dist/upng/index.mjs",
      "require": "./dist/upng/index.cjs"
    },
    "./standard-fonts": {
      "types": "./dist/standard-fonts/index.d.ts",
      "import": "./dist/standard-fonts/index.mjs",
      "require": "./dist/standard-fonts/index.cjs"
    }
  },
  "contributors": [
    "François Billioud (https://github.com/Sharcoux)",
    "Matheus Santos (https://github.com/matheus-santos)",
    "Cantoo (https://github.com/cantoo-scribe)",
    "jerp (https://github.com/jerp)",
    "Greg Bacchus (https://github.com/gregbacchus)",
    "Mickael Lecoq (https://github.com/mlecoq)",
    "Philip Murphy (https://github.com/philipjmurphy)",
    "Dmitry Kozliuk (https://github.com/PlushBeaver)",
    "Said Amezyane (https://github.com/samezyane)",
    "Georges Gabereau (https://github.com/multiplegeorges)",
    "Gerard Smit (https://github.com/GerardSmit)",
    "jlmessenger (https://github.com/jlmessenger)",
    "thebenlamm (https://github.com/thebenlamm)",
    "cshenks (https://github.com/cshenks)",
    "James Woodrow (https://github.com/jwoodrow)",
    "Guillaume Grossetie (https://github.com/Mogztter)",
    "Philipp Tessenow (https://github.com/tessi)",
    "Tim Kräuter (https://github.com/timKraeuter)",
    "Richard Bateman (https://github.com/taxilian)",
    "Sebastian Martinez (https://github.com/sebastinez)",
    "soadzoor (https://github.com/soadzoor)",
    "Slobodan Babic (https://github.com/bockoblur)",
    "Zach Toben (https://github.com/ztoben)",
    "Zack Sheppard (https://github.com/zackdotcomputer)",
    "DkDavid (https://github.com/DkDavid)",
    "Bj Tecu (https://github.com/btecu)",
    "Brent McSharry (https://github.com/mcshaz)",
    "Tim Knapp (https://github.com/duffyd)",
    "Ching Chang (https://github.com/ChingChang9)",
    "François Billioud (https://github.com/Sharcoux)",
    "Phakorn Kiong (https://github.com/PhakornKiong)",
    "Donald Ness (https://github.com/programmarchy)",
    "Remus DRAICA (https://github.com/remdra)",
    "David Abdala (https://github.com/adnsistemas)",
    "Eran Ohayon (https://github.com/erano067)"
  ],
  "scripts": {
    "release": "yarn release:prep && release-it",
    "release:prep": "yarn lint && yarn clean && yarn typecheck && yarn test && yarn build",
    "release:publish": "npm publish --access public",
    "get:version": "node --eval 'console.log(require(`./package.json`).version)'",
    "clean": "rimraf ts3.4 build cjs dist es scratchpad/build coverage tsBuildInfo.json apps/node-build apps/node/tsBuildInfo.json isolate*.log flamegraph.html out.pdf src/packages/upng/dist src/packages/standard-fonts/dist",
    "typecheck": "tsc --noEmit --incremental false --tsBuildInfoFile null",
    "test": "yarn build:packages && jest --config jest.config.js --runInBand",
    "testw": "jest --config jest.config.js --watch",
    "testc": "yarn build:packages && jest --config jest.config.js --coverage && open coverage/index.html",
    "lint-staged": "lint-staged",
    "lint": "yarn lint:prettier && yarn lint:eslint",
    "lint:eslint": "eslint . --fix",
    "lint:prettier": "prettier --write \"./{src,tests,apps}/**/*.{ts,js,json,html,css}\" --log-level error",
    "build:packages": "node ./scripts/build-packages.mjs",
    "build:mirror": "node ./scripts/mirror-packages-dist.mjs",
    "standard-fonts:afm": "node ./scripts/run-ts.mjs src/packages/standard-fonts/scripts/fonts/parse.ts",
    "standard-fonts:encodings": "node ./scripts/run-ts.mjs src/packages/standard-fonts/scripts/encodings/parse.ts",
    "standard-fonts:metrics": "yarn standard-fonts:afm && yarn standard-fonts:encodings",
    "build": "yarn build:packages && yarn build:cjs && yarn build:es && yarn build:esm && yarn build:esm:min && yarn build:umd && yarn build:umd:min && yarn build:downlevel-dts && yarn build:mirror",
    "build:cjs": "tsc --module commonjs --outDir cjs",
    "build:es": "tsc --module ES2015 --outDir es && node ./scripts/es-build.js",
    "build:esm": "rollup --config rollup.config.mjs --file dist/pdf-lib.esm.js --environment MODULE_TYPE:es",
    "build:esm:min": "rollup --config rollup.config.mjs --file dist/pdf-lib.esm.min.js --environment MINIFY,MODULE_TYPE:es",
    "build:umd": "rollup --config rollup.config.mjs --file dist/pdf-lib.js --environment MODULE_TYPE:umd",
    "build:umd:min": "rollup --config rollup.config.mjs --file dist/pdf-lib.min.js --environment MINIFY,MODULE_TYPE:umd",
    "build:downlevel-dts": "rimraf ts3.4 && yarn downlevel-dts . ts3.4 && rimraf ts3.4/scratchpad",
    "build:test": "yarn build:packages && yarn build:es && yarn build:umd",
    "prepublishOnly": "yarn build:packages",
    "scratchpad:start": "tsc --build scratchpad/tsconfig.json --watch",
    "scratchpad:run": "node scratchpad/build/scratchpad/index.js",
    "scratchpad:flame": "rimraf isolate*.log && node --prof scratchpad/build/scratchpad/index.js && node --prof-process --preprocess -j isolate*.log | flamebearer",
    "apps:node": "tsc --build apps/node/tsconfig.json && node apps/node-build/index.js",
    "apps:deno": "deno run --allow-read --allow-write --allow-run apps/deno/index.ts",
    "apps:web": "http-server -c-1 -o apps/web/test1.html",
    "apps:web:mac": "bash -c 'sleep 1 && open http://localhost:8080/apps/web/test1.html' & yarn apps:web",
    "apps:rn:ios": "cd apps/rn && yarn add ./../.. --force && react-native run-ios",
    "apps:rn:android": "yarn apps:rn:emulator & cd apps/rn && yarn add ./../.. --force && react-native run-android",
    "apps:rn:emulator": "emulator -avd \"$(emulator -list-avds | head -n 1)\" & bash -c 'sleep 5 && adb reverse tcp:8080 tcp:8080 && adb reverse tcp:8081 tcp:8081'",
    "prepare": "husky"
  },
  "main": "cjs/index.js",
  "module": "es/index.js",
  "unpkg": "dist/pdf-lib.min.js",
  "types": "cjs/index.d.ts",
  "typesVersions": {
    "<=3.5": {
      "*": [
        "ts3.4/*"
      ]
    }
  },
  "files": [
    "cjs/",
    "dist/",
    "es/",
    "src/",
    "ts3.4",
    "LICENSE.md",
    "package.json",
    "README.md",
    "yarn.lock"
  ],
  "dependencies": {
    "culori": ">=4",
    "fflate": "^0.8.2",
    "node-html-better-parser": ">=1.5.9",
    "tslib": ">=2"
  },
  "peerDependencies": {
    "html-entities": ">=2.3.2"
  },
  "devDependencies": {
    "@cantoo/fontkit": "^2.0.12",
    "@eslint/js": "^9.35.0",
    "@rollup/plugin-commonjs": "^25.0.7",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-terser": "^0.4.4",
    "@types/culori": "^4.0.1",
    "@types/jest": "^29.5.12",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "downlevel-dts": "^0.11.0",
    "esbuild": "^0.25.0",
    "eslint": "^9.35.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "flamebearer": "^1.1.3",
    "globals": "^15.0.0",
    "http-server": "^14.1.1",
    "husky": "^9.0.0",
    "jest": "29.7.0",
    "lint-staged": "^15.5.0",
    "prettier": "^3.2.5",
    "release-it": "^17.0.3",
    "rimraf": "^5.0.5",
    "rollup": "^4.9.6",
    "ts-jest": "^29.0",
    "typescript": "^5.0.0"
  },
  "license": "MIT",
  "private": false,
  "homepage": "https://pdf-lib.js.org",
  "repository": "git+https://github.com/cantoo-scribe/pdf-lib.git",
  "bugs": {
    "url": "https://github.com/cantoo-scribe/pdf-lib/issues"
  },
  "keywords": [
    "pdf-lib",
    "pdf",
    "document",
    "create",
    "modify",
    "creation",
    "modification",
    "edit",
    "editing",
    "typescript",
    "javascript",
    "library"
  ],
  "lint-staged": {
    "{src,tests,apps}/**/*.{ts,js,json,html,css}": [
      "prettier --check",
      "eslint --fix"
    ]
  }
}
