UNPKG

@lillallol/outline-pdf-cjs

Version:

Add outline to outline-less pdf. Works in node and does not have any dependency on other programming languages.

60 lines (59 loc) 2.27 kB
{ "name": "@lillallol/outline-pdf-cjs", "version": "1.0.5", "description": "Add outline to outline-less pdf. Works in node and does not have any dependency on other programming languages.", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "check-updates": "ncu", "update": "npx ncu -u;npm install", "dead-files": "unimported", "spell-check": "cspell \"./**/*\"", "lint": "tsc --noEmit && eslint ./src/**/*.ts --max-warnings=0", "test": "rm -rf ./coverage && npx jest --clearCache && npx jest ./src --coverage --silent", "build-cjs": "tsc -p ./tsconfig.build.json", "build": "rm -rf ./dist && npm run build-cjs", "pre-bump": "npm run dead-files && npm run spell-check && npm run lint && npm run test && npm run build && git add --all && git commit", "release": "npm run pre-bump && npm publish --access public && npm run after-bump", "bump-patch": "npm run pre-bump && npm version patch && npm publish && npm run after-bump", "bump-minor": "npm run pre-bump && npm version minor && npm publish && npm run after-bump", "bump-major": "npm run pre-bump && npm version major && npm publish && npm run after-bump", "after-bump": "git push origin master && rm -rf ./dist" }, "keywords": [ "outline", "pdf", "node", "nodejs", "bookmark", "bookmarks", "index", "pdf-lib", "lillallol" ], "author": "lillallol", "files": [ "dist" ], "license": "MIT", "devDependencies": { "@types/jest": "^26.0.20", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "cspell": "^5.3.7", "eslint": "^7.22.0", "jest": "^26.6.3", "ts-jest": "^26.5.3", "typescript": "^4.2.3", "unimported": "^1.7.0" }, "dependencies": { "@lillallol/outline-pdf": "^3.0.4", "pdf-lib": "^1.16.0" }, "bugs": { "url": "https://github.com/lillallol/outline-pdf-cjs/issues" }, "repository": "https://github.com/lillallol/outline-pdf-cjs", "homepage": "https://github.com/lillallol/outline-pdf-cjs" }