UNPKG

vue-pdf-kit

Version:

A high-definition PDF preview component that supports both Vue 2 and Vue 3.

103 lines (102 loc) 2.81 kB
{ "name": "vue-pdf-kit", "description": "A high-definition PDF preview component that supports both Vue 2 and Vue 3.", "version": "0.0.7", "type": "module", "main": "./dist/index.umd.cjs", "module": "./dist/index.js", "types": "./dist/types/index.d.ts", "keywords": [ "pdf", "vue", "pdfjs", "vue3-pdf", "vue3", "vue2-pdf", "vue2", "vue-pdf" ], "license": "MIT", "author": "Fumtydt (https://github.com/fumtydt)", "repository": "github:fumtydt/vue-pdf-kit", "homepage": "https://github.com/fumtydt/vue-pdf-kit?tab=readme-ov-file#vue-pdf-kit", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.umd.cjs", "types": "./dist/types/index.d.ts" }, "./dist/style.css": "./dist/style.css" }, "scripts": { "build": "run-p type-check build-only", "postbuild": "vue-tsc -p tsconfig.build.json", "preview": "vite preview", "test:unit": "vitest", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "format": "prettier --write src/", "prepare": "husky install", "commit": "git cz", "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r && git add CHANGELOG.md" }, "dependencies": { "pdfjs-dist": "^3.11.174" }, "peerDependencies": { "vue": "^2.0.0 || >=3.0.0", "vue-demi": "^0.14.10" }, "peerDependenciesMeta": { "@vue/composition-api": { "optional": true } }, "devDependencies": { "@commitlint/cli": "^19.2.0", "@commitlint/config-conventional": "^19.1.0", "@rushstack/eslint-patch": "^1.2.0", "@tsconfig/node18": "^2.0.1", "@types/jsdom": "^21.1.1", "@types/node": "^18.16.17", "@vue/eslint-config-prettier": "^7.1.0", "@vue/eslint-config-typescript": "^11.0.3", "@vue/test-utils": "^2.3.2", "@vue/tsconfig": "^0.4.0", "commitizen": "^4.3.0", "conventional-changelog-cli": "^4.1.0", "cz-conventional-changelog": "^3.3.0", "cz-git": "^1.9.0", "eslint": "^8.39.0", "husky": "^9.0.11", "jsdom": "^22.1.0", "lint-staged": "^13.2.2", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "typescript": "~5.0.4", "vite": "^5.1.6", "vite-plugin-eslint": "^1.8.1", "vitest": "^0.32.0", "vue-tsc": "^2.1.10" }, "config": { "commitizen": { "path": "node_modules/cz-git", "useEmoji": true } }, "lint-staged": { "*.{vue,js,jsx,cjs,mjs,ts,tsx,}": [ "npm run lint", "git add", "eslint --cache --fix" ], "*.src/": "prettier --write" }, "packageManager": "pnpm@8.6.10", "files": [ "dist" ], "engines": {} }