{
  "name": "@maxwbh/pdf-lib",
  "version": "1.18.1",
  "description": "Create and modify PDF files with JavaScript - Extended fork with encryption, incremental save, and hyperlinks",
  "author": "Maxwell Oliveira <maxwbh@gmail.com>",
  "contributors": [
    "Andrew Dillon <andrew.dillon.j@gmail.com> (Original author)",
    "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)"
  ],
  "scripts": {
    "prepare": "ts-patch install -s",
    "release:latest": "yarn publish --tag latest && yarn pack && yarn release:tag",
    "release:next": "yarn publish --tag next",
    "release:prep": "yarn clean && yarn lint && yarn typecheck && yarn test && yarn build",
    "release:tag": "TAG=\"v$(yarn --silent get:version)\" && git tag $TAG && git push origin $TAG",
    "get:version": "node --eval 'console.log(require(`./package.json`).version)'",
    "clean": "powershell -NoProfile -Command \"Remove-Item -Path ts3.4, build, cjs, dist, es, 'scratchpad/build', coverage, tsBuildInfo.json, 'apps/node-build', 'apps/node/tsBuildInfo.json', 'isolate*.log', flamegraph.html, out.pdf -Recurse -Force -ErrorAction SilentlyContinue\"",
    "typecheck": "tsc --noEmit --incremental false --tsBuildInfoFile null",
    "test": "jest --config jest.json --runInBand",
    "testw": "jest --config jest.json --watch",
    "testc": "jest --config jest.json --coverage && open coverage/index.html",
    "lint": "yarn lint:prettier && yarn lint:eslint",
    "lint:eslint": "eslint src/**/*.ts --fix || true",
    "lint:prettier": "prettier --write \"./{src,tests,apps}/**/*.{ts,js,json,html,css}\" --loglevel error",
    "build": "yarn build:cjs && yarn build:es && yarn build:esm && yarn build:esm:min && yarn build:umd && yarn build:umd:min",
    "build:cjs": "tsc --module commonjs --outDir cjs",
    "build:es": "tsc --module ES2015 --outDir es",
    "build:esm": "rollup --config rollup.config.js --file dist/pdf-lib.esm.js --environment MODULE_TYPE:es",
    "build:esm:min": "rollup --config rollup.config.js --file dist/pdf-lib.esm.min.js --environment MINIFY,MODULE_TYPE:es",
    "build:umd": "rollup --config rollup.config.js --file dist/pdf-lib.js --environment MODULE_TYPE:umd",
    "build:umd:min": "rollup --config rollup.config.js --file dist/pdf-lib.min.js --environment MINIFY,MODULE_TYPE:umd",
    "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 .",
    "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'"
  },
  "main": "cjs/index.js",
  "module": "es/index.js",
  "unpkg": "dist/pdf-lib.min.js",
  "jsdelivr": "dist/pdf-lib.min.js",
  "types": "cjs/index.d.ts",
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./cjs/index.d.ts",
      "import": "./es/index.js",
      "require": "./cjs/index.js"
    },
    "./package.json": "./package.json"
  },
  "typesVersions": {
    "<=3.5": {
      "*": [
        "ts3.4/*"
      ]
    }
  },
  "files": [
    "cjs/",
    "dist/",
    "es/",
    "src/",
    "ts3.4",
    "LICENSE.md",
    "package.json",
    "README.md",
    "yarn.lock"
  ],
  "dependencies": {
    "@pdf-lib/standard-fonts": "^1.0.0",
    "@pdf-lib/upng": "^1.0.1",
    "pako": "^1.0.11",
    "tslib": "^1.11.1"
  },
  "devDependencies": {
    "@pdf-lib/fontkit": "^1.1.0",
    "@rollup/plugin-commonjs": "^25.0.0",
    "@rollup/plugin-json": "^6.0.0",
    "@rollup/plugin-node-resolve": "^15.0.0",
    "@rollup/plugin-terser": "^0.4.0",
    "@types/jest": "^29.0.0",
    "@types/node": "^20.0.0",
    "@types/node-fetch": "^2.6.0",
    "@types/pako": "^2.0.0",
    "@typescript-eslint/eslint-plugin": "^8.54.0",
    "@typescript-eslint/parser": "^8.54.0",
    "eslint": "^9.39.2",
    "flamebearer": "^1.1.3",
    "http-server": "^14.0.0",
    "jest": "^29.0.0",
    "node-fetch": "^2.7.0",
    "prettier": "^3.0.0",
    "rimraf": "^5.0.10",
    "rollup": "^4.0.0",
    "ts-jest": "^29.0.0",
    "ts-patch": "^3.3.0",
    "typescript": "^5.9.3",
    "typescript-transform-paths": "^3.4.0"
  },
  "license": "MIT",
  "private": false,
  "homepage": "https://github.com/Maxwbh/pdf-lib",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Maxwbh/pdf-lib.git"
  },
  "bugs": {
    "url": "https://github.com/Maxwbh/pdf-lib/issues"
  },
  "keywords": [
    "pdf-lib",
    "pdf",
    "document",
    "create",
    "modify",
    "creation",
    "modification",
    "edit",
    "editing",
    "typescript",
    "javascript",
    "library",
    "encryption",
    "decrypt",
    "password",
    "incremental-save",
    "digital-signature",
    "hyperlink",
    "annotation"
  ],
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  }
}
