@tuttarealstep/vue-pdf.js
Version:
A Vue component for displaying PDF files using the standard `pdf.js` viewer. This package provides a simple and powerful integration to embed PDF viewers in Vue applications.
90 lines • 2.63 kB
JSON
{
"name": "@tuttarealstep/vue-pdf.js",
"description": "A Vue component for displaying PDF files using the standard `pdf.js` viewer. This package provides a simple and powerful integration to embed PDF viewers in Vue applications.",
"version": "1.2.2",
"private": false,
"type": "module",
"author": "Stefano Valenzano (https://github.com/tuttarealstep)",
"license": "MIT",
"keywords": [
"vue",
"vite",
"pdfjs",
"pdf",
"vue-pdf",
"pdf-viewer",
"pdf.js"
],
"homepage": "https://github.com/tuttarealstep/vue-pdf.js",
"repository": {
"type": "git",
"url": "git+https://github.com/tuttarealstep/vue-pdf.js.git"
},
"bugs": {
"url": "https://github.com/tuttarealstep/vue-pdf.js/issues"
},
"scripts": {
"prebuild": "bun scripts/prebuild.ts",
"build": "run-p type-check \"build-only {@}\" --",
"build-only": "vite build",
"test": "vitest",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
},
"dependencies": {
"@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.10.0",
"ajv": "^8.17.1",
"pdf.js": "git://github.com/mozilla/pdf.js.git#v5.3.31"
},
"peerDependencies": {
"vue": "^3.4.29"
},
"devDependencies": {
"@happy-dom/global-registrator": "^15.7.4",
"@rushstack/eslint-patch": "^1.8.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.14.5",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/browser": "^2.1.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"bun": "^1.1.38",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"happy-dom": "^15.7.4",
"npm-run-all2": "^6.2.0",
"playwright": "^1.49.0",
"prettier": "^3.2.5",
"sass-embedded": "^1.79.4",
"typescript": "~5.4.0",
"vite": "^5.3.1",
"vite-plugin-dts": "^4.2.3",
"vite-plugin-static-copy": "^2.0.0",
"vitest": "^2.1.5",
"vitest-browser-vue": "^0.0.1",
"vue-tsc": "^2.0.21"
},
"files": [
"dist",
"src/components/"
],
"main": "./dist/vue-pdfjs.umd.cjs",
"module": "./dist/vue-pdfjs.js",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/vue-pdfjs.js",
"require": "./dist/vue-pdfjs.umd.cjs"
},
"./dist/style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
},
"./l10n/": "./dist/l10n/"
}
}