mirror of
https://github.com/pdfme/pdfme.git
synced 2026-02-19 23:35:10 -05:00
* chore: replace npm-run-all with npm-run-all2 * chore: replace npm-run-all with npm-run-all2 and use run-p shorthand
96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"name": "@pdfme/generator",
|
|
"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": {
|
|
"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": "run-p 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"
|
|
}
|
|
}
|