{
  "name": "@cantoo/pdf-lib",
  "version": "2.3.2",
  "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"
    }
  },
  "contributors": [
    "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)"
  ],
  "scripts": {
    "release": "yarn release:prep && release-it",
    "release:prep": "yarn clean && yarn lint && yarn typecheck && yarn test && yarn build",
    "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",
    "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:tslint:src && yarn lint:tslint:tests",
    "lint:tslint:src": "tslint --project tsconfig.json --fix",
    "lint:tslint:tests": "tslint --project tests/tsconfig.json --fix",
    "lint:prettier": "prettier --write \"./{src,tests,apps}/**/*.{ts,js,json,html,css}\" --log-level error",
    "build": "yarn build:cjs && yarn build:es && yarn build:esm && yarn build:esm:min && yarn build:umd && yarn build:umd:min && yarn build:downlevel-dts",
    "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:es && yarn build: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",
  "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": {
    "@pdf-lib/standard-fonts": "^1.0.0",
    "@pdf-lib/upng": "^1.0.1",
    "color": "^4.2.3",
    "crypto-js": "^4.2.0",
    "node-html-better-parser": "^1.4.0",
    "pako": "^1.0.11"
  },
  "devDependencies": {
    "@pdf-lib/fontkit": "^1.1.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/color": "^3.0.1",
    "@types/crypto-js": "^4.2.2",
    "@types/jest": "^29.5.12",
    "@types/node-fetch": "^2.5.7",
    "@types/pako": "^1.0.1",
    "downlevel-dts": "^0.11.0",
    "flamebearer": "^1.1.3",
    "http-server": "^14.1.1",
    "jest": "29.7.0",
    "node-fetch": "^3.3.2",
    "prettier": "^3.2.4",
    "release-it": "^17.0.3",
    "rimraf": "^5.0.5",
    "rollup": "^4.9.6",
    "ts-jest": "^29.0",
    "tslib": "^2.1.0",
    "tslint": "^6.1.2",
    "tslint-config-prettier": "^1.18.0",
    "typescript": "^4.9.5"
  },
  "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"
  ]
}
