Files
pdfme/packages/common/package.json
Sebastian Moßburger da7f7cfb0b fix(common): Move typing dependencies to peer (#477)
* 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>
2024-06-01 09:11:50 +09:00

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"
}
}