77 lines
3.0 KiB
JSON
77 lines
3.0 KiB
JSON
{
|
|
"name": "@lillallol/outline-pdf",
|
|
"version": "4.0.0",
|
|
"description": "High level API to add outline to a pdf without any dependency on other programming languages. Works in both browser and node.",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"module": "./dist/index.esm.js",
|
|
"scripts": {
|
|
"start": "http-server -c-1",
|
|
"check-updates": "ncu --reject @rollup/plugin-commonjs",
|
|
"update": "npx ncu -u --reject @rollup/plugin-commonjs;npm install",
|
|
"dead-files": "unimported",
|
|
"spell-check": "cspell \"./**/*\"",
|
|
"lint": "tsc --noEmit && eslint ./src/**/*.ts --max-warnings=0",
|
|
"format": "npx prettier --write ./src/**/*.ts",
|
|
"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-esm": "npx rollup -c ./rollup.config.js",
|
|
"build": "npm run build-ts;npm run build-md;npm run build-esm",
|
|
"pre-bump": "npm run dead-files && npm run spell-check && npm run format && 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"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"keywords": [
|
|
"outline",
|
|
"pdf",
|
|
"index",
|
|
"bookmarks",
|
|
"bookmark",
|
|
"pdf-lib",
|
|
"toc",
|
|
"table of contents",
|
|
"collapse",
|
|
"expand",
|
|
"high level API",
|
|
"native",
|
|
"browser"
|
|
],
|
|
"author": "lillallol",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "12.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@types/jest": "^26.0.23",
|
|
"@typescript-eslint/eslint-plugin": "^4.24.0",
|
|
"@typescript-eslint/parser": "^4.24.0",
|
|
"cspell": "^5.4.1",
|
|
"eslint": "^7.27.0",
|
|
"http-server": "^0.12.3",
|
|
"jest": "^26.6.3",
|
|
"md-in-place": "^1.0.1",
|
|
"npm-check-updates": "^11.5.13",
|
|
"prettier": "^2.3.0",
|
|
"rollup-plugin-dts": "^3.0.2",
|
|
"ts-doc-gen-md": "*",
|
|
"ts-jest": "^26.5.6",
|
|
"typescript": "^4.2.4",
|
|
"unimported": "^1.11.0"
|
|
},
|
|
"dependencies": {
|
|
"@lillallol/outline-pdf-data-structure": "^1.0.3",
|
|
"pdf-lib": "^1.16.0"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/lillallol/outline-pdf/issues"
|
|
},
|
|
"repository": "https://github.com/lillallol/outline-pdf",
|
|
"homepage": "https://github.com/lillallol/outline-pdf"
|
|
}
|