@ifzai/connect2dify
Version:
A comprehensive TypeScript client for the Dify API, providing a clean and modular interface for chat, workflow, file management, and application interactions.
72 lines (71 loc) • 2.33 kB
JSON
{
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@rslib/core": "^0.9.2",
"@types/node": "^22.15.31",
"husky": "^9.1.7",
"prettier": "^3.5.3",
"tsx": "^4.20.1",
"typescript": "^5.8.3",
"vitest": "^3.2.2"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": ["dist"],
"main": "./dist/index.cjs",
"name": "@ifzai/connect2dify",
"private": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/ifzai/connect2dify.git"
},
"homepage": "https://github.com/ifzai/connect2dify#readme",
"bugs": {
"url": "https://github.com/ifzai/connect2dify/issues"
},
"keywords": ["dify", "connect", "api", "client", "typescript"],
"author": {
"name": "silo",
"email": "hello@ifz.ai"
},
"license": "MIT",
"scripts": {
"build": "rslib build",
"check": "biome check --write",
"commitlint": "commitlint --edit",
"dev": "rslib build --watch",
"format": "prettier --write .",
"lint": "biome check",
"lint:fix": "biome check --write",
"prepare": "husky",
"prepublishOnly": "pnpm run build && pnpm run test",
"release": "pnpm run prepublishOnly && npm publish",
"test": "vitest run",
"test:watch": "vitest",
"example:workflow": "tsx examples/comprehensive-workflow-demo.ts",
"example:chat-streaming": "tsx examples/chat-streaming-basic-demo.ts",
"example:chat-streaming-callback": "tsx examples/chat-streaming-demo.ts",
"example:chat-conversation": "tsx examples/chat-conversation-demo.ts",
"example:workflow-blocking": "tsx examples/workflow-blocking-demo.ts",
"example:workflow-streaming": "tsx examples/workflow-streaming-demo.ts",
"example:app-info": "tsx examples/app-info-demo.ts",
"example:api-format": "tsx examples/api-format-demo.ts",
"example:api-format-demo": "tsx examples/test-api-formats-demo.ts",
"debug:api": "tsx examples/debug-api.ts",
"test:raw": "node examples/raw-api-test.js"
},
"type": "module",
"types": "./dist/index.d.ts",
"version": "1.0.7"
}