mirror of
https://github.com/pdfme/pdfme.git
synced 2026-04-18 21:19:10 -04:00
* fix(dep): Remove antd as direct dependency of common * Move form-render to peer as well * update esbuild --------- Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"name": "@pdfme/common",
|
|
"version": "0.0.0",
|
|
"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": "./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:cjs": "tsc -p tsconfig.cjs.json",
|
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
"clean": "rimraf dist",
|
|
"lint": "eslint --ext .ts src",
|
|
"test": "jest",
|
|
"prune": "ts-prune src",
|
|
"prettier": "prettier --write 'src/**/*.ts'"
|
|
},
|
|
"dependencies": {
|
|
"@pdfme/pdf-lib": "^1.18.3",
|
|
"buffer": "^6.0.3",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"peerDependencies": {
|
|
"antd": "^5.11.2",
|
|
"form-render": "^2.2.20"
|
|
},
|
|
"jest": {
|
|
"resolver": "ts-jest-resolver",
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"ts"
|
|
],
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsconfig": "tsconfig.esm.json"
|
|
}
|
|
},
|
|
"testMatch": [
|
|
"**/*.test.ts"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|