Files
twenty_crm/packages/twenty-zapier/project.json
martmull 1fc087aeac 13233 zapier update route to create workflow apikey etc (#13239)
Fix webhook creation utils and some tests
2025-07-16 16:23:35 +02:00

68 lines
1.7 KiB
JSON

{
"name": "twenty-zapier",
"projectType": "application",
"tags": ["scope:zapier"],
"targets": {
"build": {
"outputs": ["{projectRoot}/lib"],
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["nx run twenty-zapier:clean && tsc"]
},
"dependsOn": ["^build"]
},
"format": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["prettier . --write \"!build\""]
}
},
"test": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["NODE_ENV=test && nx run twenty-zapier:build && jest --testTimeout 10000 --rootDir ./lib/test"]
}
},
"validate": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["nx run twenty-zapier:build && zapier validate"]
}
},
"versions": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["nx run twenty-zapier:build && zapier versions"]
}
},
"watch":{
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["nx run twenty-zapier:clean && npx tsc --watch"]
}
},
"clean": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["rimraf ./lib ./build"]
}
},
"deploy": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": [
"nx run twenty-zapier:build && cp -r ../twenty-shared/ node_modules/twenty-shared && zapier push --skip-npm-install"
]
}
}
}
}