Files

101 lines
2.7 KiB
JSON
Raw Permalink Normal View History

2026-05-26 09:12:36 +08:00
{
"name": "@langgenius/difyctl",
"version": "1.20.0",
2026-05-26 09:12:36 +08:00
"description": "Dify command-line interface",
"license": "Apache-2.0",
"files": [
"README.md",
"bin",
"dist"
],
2026-07-12 23:57:46 +08:00
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
2026-05-26 09:12:36 +08:00
},
"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",
2026-10-23 00:55:03 +00:00
"type-check": "tsrs --noEmit",
2026-05-26 09:12:36 +08:00
"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",
2026-05-26 09:12:36 +08:00
"clean": "rm -rf dist node_modules/.cache",
"smoke": "bun scripts/run-smoke.ts",
2026-05-26 09:12:36 +08:00
"version:info": "bun scripts/print-buildinfo.ts",
"build:bin": "scripts/release-build.sh",
"build:bin:local": "DIFYCTL_CHANNEL=dev scripts/release-build.sh"
2026-05-26 09:12:36 +08:00
},
"dependencies": {
"@napi-rs/keyring": "catalog:",
"ajv": "catalog:",
2026-05-26 09:12:36 +08:00
"eventsource-parser": "catalog:",
"js-yaml": "catalog:",
"lockfile": "catalog:",
2026-05-26 09:12:36 +08:00
"open": "catalog:",
"picocolors": "catalog:",
"undici": "catalog:",
2026-05-26 09:12:36 +08:00
"zod": "catalog:"
},
"devDependencies": {
"@dify/tsconfig": "workspace:*",
"@hono/node-server": "catalog:",
"@types/lockfile": "catalog:",
2026-05-26 09:12:36 +08:00
"@types/node": "catalog:",
"@vitest/coverage-v8": "catalog:",
"hono": "catalog:",
2026-10-23 00:55:03 +00:00
"tsrs": "catalog:",
2026-05-26 09:12:36 +08:00
"typescript": "catalog:",
"vite": "catalog:",
"vite-plus": "catalog:",
"vitest": "catalog:"
2026-07-12 23:57:46 +08:00
},
"engines": {
"node": "^24.22.3"
2026-07-12 23:57:46 +08:00
},
"difyctl": {
"channel": "stable",
2026-07-12 23:57:46 +08:00
"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
}
]
}
2026-05-26 09:12:36 +08:00
}
}