You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
252 lines
7.7 KiB
JSON
252 lines
7.7 KiB
JSON
{
|
|
"_from": "pdf-lib",
|
|
"_id": "pdf-lib@1.17.1",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-V/mpyJAoTsN4cnP31vc0wfNA1+p20evqqnap0KLoRUN0Yk/p3wN52DOEsL4oBFcLdb76hlpKPtzJIgo67j/XLw==",
|
|
"_location": "/pdf-lib",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "tag",
|
|
"registry": true,
|
|
"raw": "pdf-lib",
|
|
"name": "pdf-lib",
|
|
"escapedName": "pdf-lib",
|
|
"rawSpec": "",
|
|
"saveSpec": null,
|
|
"fetchSpec": "latest"
|
|
},
|
|
"_requiredBy": [
|
|
"#USER",
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmmirror.com/pdf-lib/-/pdf-lib-1.17.1.tgz",
|
|
"_shasum": "9e7dd21261a0c1fb17992580885b39e7d08f451f",
|
|
"_spec": "pdf-lib",
|
|
"_where": "D:\\workspace\\EMR_Record2.0",
|
|
"author": {
|
|
"name": "Andrew Dillon",
|
|
"email": "andrew.dillon.j@gmail.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Hopding/pdf-lib/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"contributors": [
|
|
{
|
|
"name": "jerp",
|
|
"url": "https://github.com/jerp"
|
|
},
|
|
{
|
|
"name": "Greg Bacchus",
|
|
"url": "https://github.com/gregbacchus"
|
|
},
|
|
{
|
|
"name": "Mickael Lecoq",
|
|
"url": "https://github.com/mlecoq"
|
|
},
|
|
{
|
|
"name": "Philip Murphy",
|
|
"url": "https://github.com/philipjmurphy"
|
|
},
|
|
{
|
|
"name": "Dmitry Kozliuk",
|
|
"url": "https://github.com/PlushBeaver"
|
|
},
|
|
{
|
|
"name": "Said Amezyane",
|
|
"url": "https://github.com/samezyane"
|
|
},
|
|
{
|
|
"name": "Georges Gabereau",
|
|
"url": "https://github.com/multiplegeorges"
|
|
},
|
|
{
|
|
"name": "Gerard Smit",
|
|
"url": "https://github.com/GerardSmit"
|
|
},
|
|
{
|
|
"name": "jlmessenger",
|
|
"url": "https://github.com/jlmessenger"
|
|
},
|
|
{
|
|
"name": "thebenlamm",
|
|
"url": "https://github.com/thebenlamm"
|
|
},
|
|
{
|
|
"name": "cshenks",
|
|
"url": "https://github.com/cshenks"
|
|
},
|
|
{
|
|
"name": "James Woodrow",
|
|
"url": "https://github.com/jwoodrow"
|
|
},
|
|
{
|
|
"name": "Guillaume Grossetie",
|
|
"url": "https://github.com/Mogztter"
|
|
},
|
|
{
|
|
"name": "Philipp Tessenow",
|
|
"url": "https://github.com/tessi"
|
|
},
|
|
{
|
|
"name": "Tim Kräuter",
|
|
"url": "https://github.com/timKraeuter"
|
|
},
|
|
{
|
|
"name": "Richard Bateman",
|
|
"url": "https://github.com/taxilian"
|
|
},
|
|
{
|
|
"name": "Sebastian Martinez",
|
|
"url": "https://github.com/sebastinez"
|
|
},
|
|
{
|
|
"name": "soadzoor",
|
|
"url": "https://github.com/soadzoor"
|
|
},
|
|
{
|
|
"name": "Slobodan Babic",
|
|
"url": "https://github.com/bockoblur"
|
|
},
|
|
{
|
|
"name": "Zach Toben",
|
|
"url": "https://github.com/ztoben"
|
|
},
|
|
{
|
|
"name": "Zack Sheppard",
|
|
"url": "https://github.com/zackdotcomputer"
|
|
},
|
|
{
|
|
"name": "DkDavid",
|
|
"url": "https://github.com/DkDavid"
|
|
},
|
|
{
|
|
"name": "Bj Tecu",
|
|
"url": "https://github.com/btecu"
|
|
},
|
|
{
|
|
"name": "Brent McSharry",
|
|
"url": "https://github.com/mcshaz"
|
|
},
|
|
{
|
|
"name": "Tim Knapp",
|
|
"url": "https://github.com/duffyd"
|
|
},
|
|
{
|
|
"name": "Ching Chang",
|
|
"url": "https://github.com/ChingChang9"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"@pdf-lib/standard-fonts": "^1.0.0",
|
|
"@pdf-lib/upng": "^1.0.1",
|
|
"pako": "^1.0.11",
|
|
"tslib": "^1.11.1"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Create and modify PDF files with JavaScript",
|
|
"devDependencies": {
|
|
"@pdf-lib/fontkit": "^1.1.0",
|
|
"@rollup/plugin-commonjs": "^13.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^8.0.1",
|
|
"@types/jest": "^26.0.0",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@types/pako": "^1.0.1",
|
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
"downlevel-dts": "^0.5.0",
|
|
"flamebearer": "^1.1.3",
|
|
"http-server": "^0.12.3",
|
|
"jest": "^26.0.1",
|
|
"node-fetch": "^2.6.0",
|
|
"prettier": "^2.0.5",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.17.1",
|
|
"rollup-plugin-terser": "^6.1.0",
|
|
"ts-jest": "^26.1.0",
|
|
"tslint": "^6.1.2",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"ttypescript": "^1.5.10",
|
|
"typescript": "^3.9.5"
|
|
},
|
|
"files": [
|
|
"cjs/",
|
|
"dist/",
|
|
"es/",
|
|
"src/",
|
|
"ts3.4",
|
|
"LICENSE.md",
|
|
"package.json",
|
|
"README.md",
|
|
"yarn.lock"
|
|
],
|
|
"homepage": "https://pdf-lib.js.org",
|
|
"keywords": [
|
|
"pdf-lib",
|
|
"pdf",
|
|
"document",
|
|
"create",
|
|
"modify",
|
|
"creation",
|
|
"modification",
|
|
"edit",
|
|
"editing",
|
|
"typescript",
|
|
"javascript",
|
|
"library"
|
|
],
|
|
"license": "MIT",
|
|
"main": "cjs/index.js",
|
|
"module": "es/index.js",
|
|
"name": "pdf-lib",
|
|
"private": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Hopding/pdf-lib.git"
|
|
},
|
|
"scripts": {
|
|
"apps:deno": "deno run --allow-read --allow-write --allow-run apps/deno/index.ts",
|
|
"apps:node": "ttsc --build apps/node/tsconfig.json && node apps/node-build/index.js",
|
|
"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'",
|
|
"apps:rn:ios": "cd apps/rn && yarn add ./../.. --force && react-native run-ios",
|
|
"apps:web": "http-server -c-1 .",
|
|
"apps:web:mac": "bash -c 'sleep 1 && open http://localhost:8080/apps/web/test1.html' & yarn apps:web",
|
|
"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": "ttsc --module commonjs --outDir cjs",
|
|
"build:downlevel-dts": "rimraf ts3.4 && yarn downlevel-dts . ts3.4 && rimraf ts3.4/scratchpad",
|
|
"build:es": "ttsc --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",
|
|
"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",
|
|
"get:version": "node --eval 'console.log(require(`./package.json`).version)'",
|
|
"lint": "yarn lint:prettier && yarn lint:tslint:src && yarn lint:tslint:tests",
|
|
"lint:prettier": "prettier --write \"./{src,tests,apps}/**/*.{ts,js,json,html,css}\" --loglevel error",
|
|
"lint:tslint:src": "tslint --project tsconfig.json --fix",
|
|
"lint:tslint:tests": "tslint --project tests/tsconfig.json --fix",
|
|
"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",
|
|
"scratchpad:flame": "rimraf isolate*.log && node --prof scratchpad/build/scratchpad/index.js && node --prof-process --preprocess -j isolate*.log | flamebearer",
|
|
"scratchpad:run": "node scratchpad/build/scratchpad/index.js",
|
|
"scratchpad:start": "ttsc --build scratchpad/tsconfig.json --watch",
|
|
"test": "jest --config jest.json --runInBand",
|
|
"testc": "jest --config jest.json --coverage && open coverage/index.html",
|
|
"testw": "jest --config jest.json --watch",
|
|
"typecheck": "tsc --noEmit --incremental false --tsBuildInfoFile null"
|
|
},
|
|
"types": "cjs/index.d.ts",
|
|
"typesVersions": {
|
|
"<=3.5": {
|
|
"*": [
|
|
"ts3.4/*"
|
|
]
|
|
}
|
|
},
|
|
"unpkg": "dist/pdf-lib.min.js",
|
|
"version": "1.17.1"
|
|
}
|