UNPKG

@lillallol/outline-pdf-data-structure

Version:

Create a pdf outline data structure from a high level string representation of pdf outline. This data structure can be used to create a real pdf outline.

61 lines (60 loc) 2.52 kB
{ "name": "@lillallol/outline-pdf-data-structure", "version": "1.0.3", "description": "Create a pdf outline data structure from a high level string representation of pdf outline. This data structure can be used to create a real pdf outline.", "main": "./dist/index.js", "typings": "./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-ts": "rm -rf ./dist;npx tsc -p ./tsconfig.build.json", "build-md": "rm -rf ./documentation.md; node ./doc-gen.js; npx md-in-place", "build": "npm run build-ts;npm run build-md;", "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" }, "repository": { "type": "git", "url": "git+https://github.com/lillallol/outline-pdf-data-structure.git" }, "keywords": [ "outline", "pdf", "index", "data-structure", "bookmarks", "pdf specification" ], "author": "lillallol", "license": "MIT", "files": [ "dist" ], "bugs": { "url": "https://github.com/lillallol/outline-pdf-data-structure/issues" }, "homepage": "https://github.com/lillallol/outline-pdf-data-structure#readme", "devDependencies": { "@types/jest": "^26.0.23", "@typescript-eslint/eslint-plugin": "^4.23.0", "@typescript-eslint/parser": "^4.23.0", "cspell": "^5.4.1", "eslint": "^7.26.0", "jest": "^26.6.3", "md-in-place": "^1.0.1", "npm-check-updates": "^11.5.13", "prettier": "^2.3.0", "ts-doc-gen-md": "*", "ts-jest": "^26.5.6", "typescript": "^4.2.4", "unimported": "^1.11.0" } }