mirror of
https://github.com/Fdawgs/node-poppler.git
synced 2026-07-02 08:27:45 +08:00
52cd1c1237
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
118 lines
2.6 KiB
JSON
118 lines
2.6 KiB
JSON
{
|
|
"name": "node-poppler",
|
|
"version": "8.0.0",
|
|
"description": "Asynchronous Node.js wrapper for the Poppler PDF rendering library",
|
|
"keywords": [
|
|
"async",
|
|
"attach",
|
|
"cairo",
|
|
"converter",
|
|
"detach",
|
|
"eps",
|
|
"html",
|
|
"jpg",
|
|
"jpeg",
|
|
"pdf",
|
|
"pdf-converter",
|
|
"pdf-to-cairo",
|
|
"pdf-to-html",
|
|
"pdf-to-image",
|
|
"pdf-to-ppm",
|
|
"pdf-to-ps",
|
|
"pdf-to-text",
|
|
"png",
|
|
"poppler",
|
|
"ppm",
|
|
"ps",
|
|
"separate",
|
|
"svg",
|
|
"text",
|
|
"tif",
|
|
"tiff",
|
|
"txt",
|
|
"unite"
|
|
],
|
|
"main": "src/index.js",
|
|
"type": "commonjs",
|
|
"types": "types/index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Fdawgs/node-poppler.git"
|
|
},
|
|
"homepage": "https://github.com/Fdawgs/node-poppler",
|
|
"bugs": {
|
|
"url": "https://github.com/Fdawgs/node-poppler/issues"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Frazer Smith <frazer.dev@icloud.com>",
|
|
"funding": "https://github.com/sponsors/Fdawgs",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:docs": "jsdoc2md src/index.js > API.md --EOL posix",
|
|
"lint": "eslint . --cache --ext js,jsx --ignore-path .gitignore",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"lint:licenses": "node scripts/license-checker.js",
|
|
"lint:prettier": "prettier . -c -u",
|
|
"lint:prettier:fix": "prettier . -w -u",
|
|
"prepare": "husky",
|
|
"test": "npm run lint && npm run lint:prettier && npm run test:unit",
|
|
"test:unit": "jest",
|
|
"test:unit:coverage": "jest --coverage"
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js"
|
|
],
|
|
"coverageReporters": [
|
|
"text",
|
|
"lcovonly"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 90,
|
|
"functions": 100,
|
|
"lines": 90,
|
|
"statements": 90
|
|
}
|
|
},
|
|
"testEnvironment": "node",
|
|
"testTimeout": 60000
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.6.1",
|
|
"@commitlint/config-conventional": "^19.6.0",
|
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/semver": "^7.5.8",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-jest": "^28.10.0",
|
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
"eslint-plugin-promise": "^7.2.1",
|
|
"eslint-plugin-regexp": "^2.7.0",
|
|
"eslint-plugin-security": "^3.0.1",
|
|
"glob": "^11.0.2",
|
|
"husky": "^9.1.7",
|
|
"jest": "^29.7.0",
|
|
"jsdoc-to-markdown": "^9.1.1",
|
|
"license-checker": "^25.0.1",
|
|
"prettier": "^3.4.2",
|
|
"spdx-copyleft": "^1.0.0",
|
|
"typescript": "~5.8.2"
|
|
},
|
|
"dependencies": {
|
|
"camelcase": "^6.3.0",
|
|
"semver": "^7.6.3"
|
|
}
|
|
}
|