mirror of
https://github.com/lobehub/chat-plugin-sdk.git
synced 2026-04-13 00:00:07 +08:00
### [Version 1.32.4](https://github.com/lobehub/chat-plugin-sdk/compare/v1.32.3...v1.32.4) <sup>Released on **2024-06-30**</sup> #### 🐛 Bug Fixes - **misc**: Ensure request body properties are defined. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Ensure request body properties are defined, closes [#43](https://github.com/lobehub/chat-plugin-sdk/issues/43) ([933b53c](https://github.com/lobehub/chat-plugin-sdk/commit/933b53c)) </details> <div align="right"> [](#readme-top) </div>
129 lines
3.6 KiB
JSON
129 lines
3.6 KiB
JSON
{
|
|
"name": "@lobehub/chat-plugin-sdk",
|
|
"version": "1.32.4",
|
|
"description": "Lobe Chat Plugin SDK, help you to build an amazing chat plugin for Lobe Chat",
|
|
"keywords": [
|
|
"lobehub",
|
|
"sdk",
|
|
"chatgpt",
|
|
"openai",
|
|
"plugin",
|
|
"chat-plugin"
|
|
],
|
|
"homepage": "https://github.com/lobehub/chat-plugin-sdk",
|
|
"bugs": {
|
|
"url": "https://github.com/lobehub/chat-plugin-sdk/issues/new"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lobehub/chat-plugin-sdk.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "LobeHub <i@lobehub.com>",
|
|
"sideEffects": false,
|
|
"main": "./lib/index.js",
|
|
"module": "./es/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"files": [
|
|
"lib",
|
|
"es",
|
|
"client.d.ts",
|
|
"client.js",
|
|
"openapi.d.ts",
|
|
"openapi.js",
|
|
"schema.json"
|
|
],
|
|
"scripts": {
|
|
"build": "father build && npm run build:entry && npm run build:schema",
|
|
"build:entry": "tsc client.ts --declaration && tsc openapi.ts --declaration",
|
|
"build:schema": "ts-json-schema-generator --path src/types/manifest.ts --type LobeChatPluginManifest -o schema.json",
|
|
"build:watch": "father dev",
|
|
"ci": "npm run lint && npm run type-check && npm run doctor",
|
|
"docs:build": "dumi build",
|
|
"docs:dev": "dumi dev",
|
|
"doctor": "father doctor",
|
|
"i18n-md": "lobe-i18n md",
|
|
"lint": "eslint \"{src,example}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
"lint:md": "remark . --quiet --frail --output",
|
|
"lint:style": "stylelint \"{src,example}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
"prepack": "npm run build && clean-pkg-json",
|
|
"prepare": "husky install",
|
|
"prepublishOnly": "npm run build",
|
|
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
|
|
"release": "semantic-release",
|
|
"start": "npm run docs:dev",
|
|
"test": "vitest --passWithNoTests",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"test:update": "vitest -u",
|
|
"type-check": "tsc -p tsconfig-check.json"
|
|
},
|
|
"lint-staged": {
|
|
"*.md": [
|
|
"remark --quiet --output --",
|
|
"prettier --write --no-error-on-unmatched-pattern"
|
|
],
|
|
"*.json": [
|
|
"prettier --write --no-error-on-unmatched-pattern"
|
|
],
|
|
"*.{js,jsx}": [
|
|
"prettier --write",
|
|
"stylelint --fix",
|
|
"eslint --fix"
|
|
],
|
|
"*.{ts,tsx}": [
|
|
"prettier --parser=typescript --write",
|
|
"stylelint --fix",
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
"@babel/runtime": "^7.23.2",
|
|
"@types/json-schema": "^7.0.14",
|
|
"openapi-jsonschema-parameters": "^12.1.3",
|
|
"openapi-types": "^12.1.3",
|
|
"swagger-client": "^3.24.6",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^18",
|
|
"@lobehub/i18n-cli": "^1.10.0",
|
|
"@lobehub/lint": "latest",
|
|
"@testing-library/react": "^14.1.2",
|
|
"@types/lodash-es": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@vitest/coverage-v8": "^1",
|
|
"babel-plugin-antd-style": "^1.0.4",
|
|
"clean-pkg-json": "^1",
|
|
"commitlint": "^18",
|
|
"dumi": "^2",
|
|
"dumi-theme-lobehub": "latest",
|
|
"eslint": "^8",
|
|
"father": "^4",
|
|
"husky": "^8",
|
|
"jsdom": "^22",
|
|
"leva": "^0",
|
|
"lint-staged": "^15",
|
|
"prettier": "^3",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"remark": "^14",
|
|
"remark-cli": "^11",
|
|
"semantic-release": "^21",
|
|
"stylelint": "^15",
|
|
"ts-json-schema-generator": "^1.4.0",
|
|
"typescript": "^5",
|
|
"vitest": "^1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18",
|
|
"react-dom": ">=18"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org"
|
|
}
|
|
}
|