UNPKG

@pdfme/common

Version:

TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!

85 lines (84 loc) 2.07 kB
{ "name": "@pdfme/common", "version": "5.4.2", "sideEffects": false, "author": "hand-dot", "license": "MIT", "keywords": [ "pdf", "pdf-generation", "pdf-designer", "pdf-viewer", "typescript", "react" ], "description": "TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!", "homepage": "https://pdfme.com", "repository": { "type": "git", "url": "git@github.com:pdfme/pdfme.git" }, "bugs": { "url": "https://github.com/pdfme/pdfme/issues" }, "main": "dist/cjs/src/index.js", "module": "dist/esm/src/index.js", "types": "dist/types/src/index.d.ts", "exports": { ".": { "import": { "node": "./dist/node/src/index.js", "default": "./dist/esm/src/index.js" }, "require": "./dist/cjs/src/index.js", "types": "./dist/types/src/index.d.ts" } }, "scripts": { "dev": "node set-version.js && tsc -p tsconfig.esm.json -w", "prebuild": "node set-version.js", "build": "npm-run-all --parallel build:cjs build:esm build:node", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "build:node": "tsc -p tsconfig.node.json", "clean": "rimraf dist", "lint": "eslint --ext .ts src --config eslint.config.mjs", "test": "jest", "prune": "ts-prune src", "prettier": "prettier --write 'src/**/*.ts'" }, "dependencies": { "@pdfme/pdf-lib": "*", "acorn": "^8.15.0", "buffer": "^6.0.3", "zod": "^3.25.67" }, "peerDependencies": { "antd": "^5.11.2", "form-render": "^2.2.20" }, "jest": { "resolver": "ts-jest-resolver", "moduleFileExtensions": [ "js", "ts" ], "transform": { "^.+\\.ts?$": [ "ts-jest", { "tsconfig": "tsconfig.esm.json" } ] }, "testMatch": [ "**/*.test.ts" ] }, "publishConfig": { "access": "public" }, "devDependencies": { "@types/estree": "^1.0.6" } }