mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
89 lines
3.9 KiB
JSON
89 lines
3.9 KiB
JSON
{
|
|
"name": "@n8n/ai-workflow-builder",
|
|
"version": "1.17.0",
|
|
"scripts": {
|
|
"clean": "rimraf dist .turbo",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc -p ./tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
"build:with-cli": "pnpm build && pnpm --filter=n8n build",
|
|
"format": "biome format --write src",
|
|
"format:check": "biome ci src",
|
|
"export:nodes": "../../../packages/cli/bin/n8n export:nodes --output ./evaluations/nodes.json",
|
|
"test": "jest",
|
|
"test:unit": "jest --config=jest.config.unit.js",
|
|
"test:integration": "jest --config=jest.config.integration.js",
|
|
"test:coverage": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"test:eval": "jest --testPathPattern='evaluations/'",
|
|
"test:eval:watch": "jest --testPathPattern='evaluations/' --watch",
|
|
"test:eval:coverage": "jest --testPathPattern='evaluations/' --coverage --collectCoverageFrom='evaluations/**/*.ts' --coveragePathIgnorePatterns='(\\.test\\.ts$|__tests__)'",
|
|
"test:no-eval": "jest --testPathIgnorePatterns='evaluations/'",
|
|
"test:no-eval:coverage": "jest --testPathIgnorePatterns='evaluations/' --coverage --coveragePathIgnorePatterns='evaluations/'",
|
|
"lint": "eslint . --quiet",
|
|
"lint:fix": "eslint . --fix",
|
|
"watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\"",
|
|
"deps:graph": "madge src/index.ts --image deps-graph.svg",
|
|
"deps:graph:service": "madge src/ai-workflow-builder-agent.service.ts --image deps-service.svg",
|
|
"deps:graph:tools": "madge src/tools/index.ts --image deps-tools.svg",
|
|
"deps:circular": "madge src/index.ts --circular",
|
|
"deps:report": "madge src/index.ts --json > deps-report.json && echo 'Dependency report saved to deps-report.json'",
|
|
"deps:orphans": "madge src/index.ts --orphans",
|
|
"deps:all": "pnpm run deps:graph && pnpm run deps:graph:service && pnpm run deps:graph:tools && pnpm run deps:circular && pnpm run deps:report",
|
|
"eval": "tsx evaluations/cli/index.ts",
|
|
"eval:langsmith": "tsx evaluations/cli/index.ts --backend langsmith",
|
|
"eval:pairwise": "tsx evaluations/cli/index.ts --suite pairwise",
|
|
"eval:pairwise:langsmith": "tsx evaluations/cli/index.ts --suite pairwise --backend langsmith",
|
|
"eval:introspection": "tsx evaluations/cli/index.ts --suite introspection --agent multi-agent",
|
|
"workflow:mermaid": "tsx scripts/workflow-to-mermaid.ts",
|
|
"python:check": "cd evaluations/programmatic/python && just check",
|
|
"python:test": "cd evaluations/programmatic/python && just test",
|
|
"python:lint": "cd evaluations/programmatic/python && just lint",
|
|
"python:format": "cd evaluations/programmatic/python && just format"
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "src/index.ts",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.js",
|
|
"import": "./src/index.ts",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@langchain/anthropic": "catalog:",
|
|
"@langchain/core": "catalog:",
|
|
"@langchain/langgraph": "1.0.2",
|
|
"@langchain/openai": "catalog:",
|
|
"@mozilla/readability": "0.6.0",
|
|
"@n8n/api-types": "workspace:*",
|
|
"@n8n/backend-common": "workspace:*",
|
|
"@n8n/config": "workspace:*",
|
|
"@n8n/di": "workspace:*",
|
|
"@n8n/utils": "workspace:*",
|
|
"@n8n/workflow-sdk": "workspace:*",
|
|
"@n8n_io/ai-assistant-sdk": "catalog:",
|
|
"csv-parse": "5.5.0",
|
|
"jsdom": "23.0.1",
|
|
"langchain": "catalog:",
|
|
"langsmith": "^0.4.6",
|
|
"lodash": "catalog:",
|
|
"n8n-workflow": "workspace:*",
|
|
"picocolors": "catalog:",
|
|
"turndown": "^7.2.2",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@n8n/typescript-config": "workspace:*",
|
|
"@types/cli-progress": "^3.11.5",
|
|
"@types/turndown": "^5.0.6",
|
|
"cli-progress": "^3.12.0",
|
|
"cli-table3": "^0.6.3",
|
|
"jest-mock-extended": "^3.0.4",
|
|
"madge": "^8.0.0",
|
|
"p-limit": "^3.1.0"
|
|
}
|
|
}
|