pdf-to-markdown/package.json
2024-03-26 10:52:54 -06:00

55 lines
1.5 KiB
JSON

{
"name": "pdf-to-markdown-core",
"version": "0.5.0",
"description": "Core logic for parsing a PDF and transforming it to Markdown",
"keywords": [
"PDF",
"Markdown",
"Converter"
],
"author": "Johannes Zillmann",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/jzillmann/pdf-to-markdown"
},
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"files": [
"lib/src/**/*"
],
"scripts": {
"postinstall": "patch-package",
"test": "jest",
"test-write": "jest --updateSnapshot test/Files.test.ts",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint --ext .js,.ts src/** test/**",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"jest-file-snapshot": "^0.5.0",
"patch-package": "^6.4.7",
"pdfjs-dist": "^2.5.207",
"prettier": "^2.2.1",
"ts-jest": "^29.1.2",
"typescript": "^5.4.2"
},
"dependencies": {
"@types/string-similarity": "^4.0.0",
"simple-statistics": "^7.7.0",
"string-similarity": "^4.0.4",
"uuid": "^9.0.1"
}
}