pdf-lib
Version:
Library for creating and modifying PDF files in JavaScript
131 lines (130 loc) • 3.6 kB
JSON
{
"name": "pdf-lib",
"version": "0.5.1",
"description": "Library for creating and modifying PDF files in JavaScript",
"main": "lib/index.js",
"unpkg": "dist/pdf-lib.min.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"scripts": {
"make": "node Makefile.js",
"docs": "node Makefile.js docs",
"lint": "node Makefile.js lint",
"releaseNext": "node Makefile.js releaseNext",
"releaseLatest": "node Makefile.js releaseLatest",
"typecheck": "tsc --noEmit",
"test": "jest --runInBand --no-coverage",
"testw": "jest --no-coverage --watch",
"test:coverage": "jest --runInBand",
"jest:clear-cache": "rm -rf $TMPDIR/jest*",
"coverage-report": "open coverage/lcov-report/index.html",
"it:node": "ts-node --module commonjs -r tsconfig-paths/register __integration_tests__/runners/node/index.ts",
"it:node:profile": "node Makefile.js runFlamebearerTest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Hopding/pdf-lib.git"
},
"keywords": [
"pdf-lib",
"pdf",
"document",
"create",
"modify",
"creation",
"modification",
"edit",
"editing",
"typescript",
"javascript",
"library"
],
"author": "Andrew Dillon <andrew.dillon.j@gmail.com>",
"contributors": [
"jerp (https://github.com/jerp)",
"Greg Bacchus (https://github.com/gregbacchus)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Hopding/pdf-lib/issues"
},
"homepage": "https://github.com/Hopding/pdf-lib#readme",
"dependencies": {
"@pdf-lib/fontkit": "^0.0.2",
"lodash": "^4.17.4",
"pako": "^1.0.6",
"png-ts": "^0.0.3",
"proxy-polyfill": "^0.3.0"
},
"devDependencies": {
"@types/faker": "^4.1.2",
"@types/inquirer": "^0.0.41",
"@types/jest": "^22.2.2",
"@types/lodash": "^4.14.110",
"@types/node": "^9.6.0",
"@types/pako": "^1.0.0",
"chalk": "^2.4.1",
"faker": "^4.1.0",
"inquirer": "^6.0.0",
"jest": "^22.4.3",
"jest-junit": "^3.6.0",
"prettier": "^1.15.2",
"relative": "^3.0.2",
"rollup": "^0.68.0",
"rollup-plugin-analyzer": "^2.0.3",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-terser": "^3.0.0",
"rollup-plugin-visualizer": "^0.9.2",
"shelljs": "^0.8.3",
"ts-jest": "^22.4.2",
"ts-node": "^6.0.5",
"tsconfig-paths": "^3.3.2",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"typedoc": "^0.11.1",
"typedoc-plugin-markdown": "^1.1.13",
"typescript": "^2.7.2"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "./tsconfig.json"
}
},
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/src/types/"
],
"moduleNameMapper": {
"^core/(.*)": "<rootDir>/src/core/$1",
"^utils/(.*)": "<rootDir>/src/utils/$1",
"^utils": "<rootDir>/src/utils/index.ts"
},
"testResultsProcessor": "./node_modules/jest-junit",
"transform": {
"^.+$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))$",
"testPathIgnorePatterns": [
"<rootDir>/integration-tests/",
"<rootDir>/node_modules/",
"<rootDir>/__tests__/tsconfig.json",
"(.*).spec.ts.snap",
"PDFOperatorSingletonTest.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
},
"jest-junit": {
"output": "./coverage/junit.xml"
}
}