project.json•1.97 kB
{
"name": "pieces-pdf",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/pieces/community/pdf/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "dist/packages/pieces/community/pdf",
"tsConfig": "packages/pieces/community/pdf/tsconfig.lib.json",
"packageJson": "packages/pieces/community/pdf/package.json",
"main": "packages/pieces/community/pdf/src/index.ts",
"assets": [
"packages/pieces/community/pdf/*.md",
{
"input": "packages/pieces/community/pdf/src/i18n",
"output": "./src/i18n",
"glob": "**/!(i18n.json)"
}
],
"buildableProjectDepsInPackageJsonType": "dependencies",
"updateBuildableProjectDepsInPackageJson": true
},
"dependsOn": ["prebuild", "^build"]
},
"prebuild": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/pieces/community/pdf",
"command": "npm ci"
}
},
"build-with-deps": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx run pieces-pdf:prebuild",
"nx run pieces-pdf:build",
"nx run pieces-pdf:postbuild"
],
"parallel": false
}
},
"postbuild": {
"executor": "nx:run-commands",
"options": {
"cwd": "dist/packages/pieces/community/pdf",
"command": "npm install"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": [
"{options.outputFile}"
]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/pieces/community/pdf/jest.config.ts"
}
}
},
"tags": []
}