pdfjs-serverless
Version:
Serverless redistribution of PDF.js for edge environments
60 lines (59 loc) • 1.62 kB
JSON
{
"name": "pdfjs-serverless",
"type": "module",
"version": "1.0.1",
"packageManager": "pnpm@10.12.1",
"description": "Serverless redistribution of PDF.js for edge environments",
"author": "Johann Schopplich <hello@johannschopplich.com>",
"license": "MIT",
"homepage": "https://github.com/johannschopplich/pdfjs-serverless#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/johannschopplich/pdfjs-serverless.git"
},
"bugs": {
"url": "https://github.com/johannschopplich/pdfjs-serverless/issues"
},
"keywords": [
"nodeless",
"parse",
"pdf",
"pdfjs-dist",
"serverless",
"workers"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"scripts": {
"build:pre": "rollup --config rollup.config.ts --configPlugin typescript",
"build:post": "cp -R node_modules/pdfjs-dist/types dist",
"build": "pnpm run build:pre && pnpm run build:post",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "bumpp"
},
"devDependencies": {
"@antfu/eslint-config": "^4.14.1",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^22.15.31",
"bumpp": "^10.1.1",
"eslint": "^9.28.0",
"pdfjs-dist": "~5.2.133",
"rollup": "^4.42.0",
"tslib": "^2.8.1",
"typescript": "^5.8.3"
}
}