n8n/packages/@n8n/workflow-sdk/package.json
n8n-assistant[bot] ed9fa260fa
chore: Resolve master→3.x sync conflict (#34758)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Stephen Wright <sjw948@gmail.com>
Co-authored-by: n8n-assistant[bot] <100856346+n8n-assistant[bot]@users.noreply.github.com>
Co-authored-by: Charlie Kolb <charlie@n8n.io>
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Bernhard Wittmann <bernhard.wittmann@n8n.io>
Co-authored-by: Nikhil Kuriakose <nikhil.kuriakose@n8n.io>
Co-authored-by: Albert Alises <albert.alises@gmail.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Andreas Fitzek <andreas.fitzek@n8n.io>
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Robin Braumann <50590409+bjorger@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: yehorkardash <yehor.kardash@n8n.io>
Co-authored-by: Mike Repeć <mike.repec@n8n.io>
Co-authored-by: Yuliia Pominchuk <31064937+yuliia-pominchuk@users.noreply.github.com>
Co-authored-by: RomanDavydchuk <roman.davydchuk@n8n.io>
Co-authored-by: Kai <kai.hartlage@n8n.io>
Co-authored-by: José Braulio González Valido <jose.gonzalez@n8n.io>
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
Co-authored-by: Alex Grozav <alex@grozav.com>
Co-authored-by: Lorent Lempereur <looorent@users.noreply.github.com>
Co-authored-by: Rodrigo Santos da Silva <rodrigo.silva@n8n.io>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Dmitrii <dmitrii.kulikov@n8n.io>
Co-authored-by: Savelii <savelii.sychov@n8n.io>
Co-authored-by: Arvin A <51036481+DeveloperTheExplorer@users.noreply.github.com>
Co-authored-by: Raúl Gómez Morales <raul00gm@gmail.com>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: Yen Su <49794855+yens1@users.noreply.github.com>
Co-authored-by: Nour Alhadi Mahmoud <nour.mahmoud@n8n.io>
Co-authored-by: Eugene <eugene@n8n.io>
Co-authored-by: LevSky22 <56281588+LevSky22@users.noreply.github.com>
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Sam Wooler <swooler592@gmail.com>
Co-authored-by: Soham Ingle <sohamingle@gmail.com>
Co-authored-by: Vishesh Gupta <vishesh.gupta12@outlook.com>
Co-authored-by: Declan Carroll <declan@n8n.io>
Co-authored-by: Jan Kalkan <jan.kalkan@n8n.io>
Co-authored-by: n8n-assistant[bot] <n8n-assistant[bot]@users.noreply.github.com>
2026-07-23 10:05:19 +02:00

111 lines
3.8 KiB
JSON

{
"name": "@n8n/workflow-sdk",
"version": "0.25.0",
"description": "TypeScript SDK for programmatically creating n8n workflows",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./scripts/generate-types": {
"types": "./src/generate-types/generate-types.ts",
"default": "./src/generate-types/generate-types.ts"
},
"./dist/generate-types/generate-types": {
"default": "./dist/generate-types/generate-types.js"
},
"./dist/generate-types/generate-node-defs-cli": {
"default": "./dist/generate-types/generate-node-defs-cli.js"
},
"./prompts/sdk-reference": {
"types": "./dist/prompts/sdk-reference/index.d.ts",
"default": "./dist/prompts/sdk-reference/index.js"
},
"./prompts/node-guidance/parameter-guides": {
"types": "./dist/prompts/node-guidance/parameter-guides/index.d.ts",
"default": "./dist/prompts/node-guidance/parameter-guides/index.js"
},
"./prompts/node-guidance/node-recommendations": {
"types": "./dist/prompts/node-guidance/node-recommendations/index.d.ts",
"default": "./dist/prompts/node-guidance/node-recommendations/index.js"
},
"./prompts/best-practices": {
"types": "./dist/prompts/best-practices/index.d.ts",
"default": "./dist/prompts/best-practices/index.js"
},
"./prompts/node-selection": {
"types": "./dist/prompts/node-selection/index.d.ts",
"default": "./dist/prompts/node-selection/index.js"
}
},
"scripts": {
"clean": "rimraf dist .turbo",
"dev": "pnpm watch",
"typecheck": "tsc --noEmit",
"build": "tsc -p tsconfig.build.json",
"build:unchecked": "tsc -p tsconfig.build.json --noCheck",
"format": "biome format --write .",
"format:check": "biome ci .",
"lint": "eslint . --quiet",
"lint:fix": "eslint . --fix",
"watch": "tsc -p tsconfig.build.json --watch",
"extract-workflows": "npx tsx scripts/extract-workflows.ts",
"test": "vitest run",
"test:unit": "vitest run",
"test:dev": "vitest --silent=false",
"generate-types": "npx tsx src/generate-types/generate-types.ts",
"fetch-workflows": "npx tsx scripts/fetch-test-workflows.ts",
"create-workflows-zip": "npx tsx scripts/create-workflows-zip.ts",
"json-to-code": "npx tsx src/cli/index.ts json-to-code",
"code-to-json": "npx tsx src/cli/index.ts code-to-json"
},
"main": "dist/index.js",
"module": "src/index.ts",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"prompts/sdk-reference": [
"./dist/prompts/sdk-reference/index.d.ts"
],
"prompts/node-guidance/parameter-guides": [
"./dist/prompts/node-guidance/parameter-guides/index.d.ts"
],
"prompts/node-guidance/node-recommendations": [
"./dist/prompts/node-guidance/node-recommendations/index.d.ts"
],
"prompts/best-practices": [
"./dist/prompts/best-practices/index.d.ts"
],
"prompts/node-selection": [
"./dist/prompts/node-selection/index.d.ts"
]
}
},
"files": [
"dist/**/*"
],
"devDependencies": {
"@n8n/eslint-plugin-community-nodes": "workspace:*",
"@n8n/typescript-config": "workspace:*",
"@n8n/vitest-config": "workspace:*",
"@types/adm-zip": "^0.5.7",
"@types/estree": "catalog:",
"@types/lodash": "catalog:",
"@vitest/coverage-v8": "catalog:",
"adm-zip": "^0.6.0",
"typescript": "catalog:typescript",
"vitest": "catalog:"
},
"dependencies": {
"@dagrejs/dagre": "^1.1.4",
"@n8n/utils": "workspace:*",
"acorn": "8.14.0",
"lodash": "catalog:",
"n8n-workflow": "workspace:*",
"uuid": "catalog:",
"zod": "catalog:"
},
"license": "LicenseRef-n8n-sustainable-use"
}