project.json•1.83 kB
{
"name": "pieces-hugging-face",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/pieces/community/hugging-face/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/pieces/community/hugging-face",
"tsConfig": "packages/pieces/community/hugging-face/tsconfig.lib.json",
"packageJson": "packages/pieces/community/hugging-face/package.json",
"main": "packages/pieces/community/hugging-face/src/index.ts",
"assets": [
"packages/pieces/community/hugging-face/*.md",
{
"input": "packages/pieces/community/hugging-face/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/hugging-face",
"command": "npm ci"
}
},
"build-with-deps": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx run pieces-hugging-face:prebuild",
"nx run pieces-hugging-face:build",
"nx run pieces-hugging-face:postbuild"
],
"parallel": false
}
},
"postbuild": {
"executor": "nx:run-commands",
"options": {
"cwd": "dist/packages/pieces/community/hugging-face",
"command": "npm install"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
}
}
}