mirror of
https://github.com/langgenius/dify.git
synced 2026-05-20 16:57:01 +08:00
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"name": "@langgenius/difyctl",
|
|
"type": "module",
|
|
"version": "0.1.0-rc.1",
|
|
"description": "Dify command-line interface",
|
|
"difyctl": {
|
|
"channel": "rc",
|
|
"compat": {
|
|
"minDify": "1.6.0",
|
|
"maxDify": "1.7.0"
|
|
}
|
|
},
|
|
"license": "Apache-2.0",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"bin": {
|
|
"difyctl": "./bin/run.js"
|
|
},
|
|
"files": [
|
|
"README.md",
|
|
"bin",
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": "^22.22.1"
|
|
},
|
|
"scripts": {
|
|
"build": "vp pack",
|
|
"dev": "tsx bin/dev.js",
|
|
"test": "vp test",
|
|
"test:coverage": "vp test --coverage",
|
|
"lint": "eslint",
|
|
"lint:fix": "eslint --fix",
|
|
"type-check": "tsc",
|
|
"ci": "pnpm type-check && pnpm lint && pnpm test:coverage && pnpm build",
|
|
"clean": "rm -rf dist node_modules/.cache",
|
|
"version:info": "tsx scripts/print-buildinfo.ts",
|
|
"docker:build-dev": "scripts/docker-build-dev.sh",
|
|
"sync-models": "scripts/sync-models.sh"
|
|
},
|
|
"dependencies": {
|
|
"@napi-rs/keyring": "catalog:",
|
|
"cli-table3": "catalog:",
|
|
"eventsource-parser": "catalog:",
|
|
"js-yaml": "catalog:",
|
|
"ky": "catalog:",
|
|
"open": "catalog:",
|
|
"ora": "catalog:",
|
|
"picocolors": "catalog:",
|
|
"std-semver": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@dify/tsconfig": "workspace:*",
|
|
"@hono/node-server": "catalog:",
|
|
"@types/js-yaml": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-v8": "catalog:",
|
|
"eslint": "catalog:",
|
|
"hono": "catalog:",
|
|
"tsx": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vite-plus": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|