UNPKG

@pdfme/generator

Version:

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

96 lines (95 loc) 2.45 kB
{ "name": "@pdfme/generator", "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": "tsc -p tsconfig.esm.json -w", "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", "test:update-snapshots": "jest --updateSnapshot", "prune": "ts-prune src", "prettier": "prettier --write 'src/**/*.ts'" }, "dependencies": { "@pdfme/pdf-lib": "*", "fontkit": "^2.0.2" }, "devDependencies": { "@pdfme/common": "*", "@pdfme/converter": "*", "@pdfme/schemas": "*" }, "peerDependencies": { "@pdfme/common": "latest", "@pdfme/schemas": "latest" }, "jest": { "resolver": "ts-jest-resolver", "setupFilesAfterEnv": [ "<rootDir>/jest.setup.js" ], "moduleNameMapper": { "^@pdfme/schemas/utils$": "<rootDir>/../schemas/src/utils.ts", "^.+\\\\.(css|less|scss)$": "identity-obj-proxy" }, "transformIgnorePatterns": [ "/node_modules/(?!(air-datepicker)/)" ], "moduleFileExtensions": [ "js", "ts" ], "transform": { "^.+\\.ts?$": [ "ts-jest", { "tsconfig": "tsconfig.esm.json" } ], "^.+\\.css$": "<rootDir>/__tests__/cssTransform.cjs" }, "testMatch": [ "**/*.test.ts" ] }, "publishConfig": { "access": "public" } }