Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

2.7 KB
Raw Blame
{
  "name": "@langgenius/difyctl",
  "version": "1.19.0",
  "description": "Dify command-line interface",
  "license": "Apache-2.0",
  "files": [
    "README.md",
    "bin",
    "dist"
  ],
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "scripts": {
    "build": "vp pack",
    "dev": "bun bin/dev.js",
    "test": "vp test",
    "test:coverage": "vp test --coverage",
    "test:e2e": "vp test --config vitest.e2e.config.ts",
    "test:e2e:smoke": "vp test --config vitest.e2e.config.ts --testNamePattern \"\\[P0\\]\"",
    "test:e2e:local": "DIFY_E2E_MODE=local vp test --config vitest.e2e.config.ts",
    "type-check": "tsrs --noEmit",
    "tree:gen": "bun scripts/generate-command-tree.ts",
    "tree:check": "bun scripts/generate-command-tree.ts --check",
    "prebuild": "pnpm tree:gen",
    "predev": "pnpm tree:gen",
    "pretest": "pnpm tree:gen",
    "ci": "pnpm tree:check && pnpm test:coverage && pnpm build",
    "clean": "rm -rf dist node_modules/.cache",
    "smoke": "bun scripts/run-smoke.ts",
    "version:info": "bun scripts/print-buildinfo.ts",
    "build:bin": "scripts/release-build.sh",
    "build:bin:local": "DIFYCTL_CHANNEL=dev scripts/release-build.sh"
  },
  "dependencies": {
    "@napi-rs/keyring": "catalog:",
    "ajv": "catalog:",
    "eventsource-parser": "catalog:",
    "js-yaml": "catalog:",
    "lockfile": "catalog:",
    "open": "catalog:",
    "picocolors": "catalog:",
    "undici": "catalog:",
    "zod": "catalog:"
  },
  "devDependencies": {
    "@dify/tsconfig": "workspace:*",
    "@hono/node-server": "catalog:",
    "@types/lockfile": "catalog:",
    "@types/node": "catalog:",
    "@typescript/native": "catalog:",
    "@vitest/coverage-v8": "catalog:",
    "hono": "catalog:",
    "tsrs": "catalog:",
    "typescript": "catalog:",
    "vite": "catalog:",
    "vite-plus": "catalog:",
    "vitest": "catalog:"
  },
  "engines": {
    "node": "^24.22.1"
  },
  "difyctl": {
    "channel": "stable",
    "release": {
      "tagPrefix": "difyctl-v",
      "binName": "difyctl",
      "checksumsSuffix": "-checksums.txt",
      "targets": [
        {
          "id": "linux-x64",
          "bunTarget": "bun-linux-x64",
          "exe": false
        },
        {
          "id": "linux-arm64",
          "bunTarget": "bun-linux-arm64",
          "exe": false
        },
        {
          "id": "darwin-x64",
          "bunTarget": "bun-darwin-x64",
          "exe": false
        },
        {
          "id": "darwin-arm64",
          "bunTarget": "bun-darwin-arm64",
          "exe": false
        },
        {
          "id": "windows-x64",
          "bunTarget": "bun-windows-x64",
          "exe": true
        }
      ]
    }
  }
}