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