-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wechat-official): add adapter-wechat-official
- Loading branch information
1 parent
0a36ec6
commit b60ca90
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "@koishijs/plugin-adapter-wechat-official", | ||
"description": "Wechat Official Adapter for Koishi", | ||
"version": "1.0.0", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"files": [ | ||
"lib" | ||
], | ||
"author": "LittleC <i@ltlec.com>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/satorijs/satori.git", | ||
"directory": "adapters/wechat-official" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/satorijs/satori/issues" | ||
}, | ||
"homepage": "https://koishi.chat/plugins/adapter/wechat-official.html", | ||
"keywords": [ | ||
"bot", | ||
"adapter", | ||
"chatbot", | ||
"koishi", | ||
"wechatofficial" | ||
], | ||
"koishi": { | ||
"description": { | ||
"en": "Wechat Official Adapter", | ||
"zh": "微信公众平台适配器" | ||
}, | ||
"service": { | ||
"implements": [ | ||
"adapter" | ||
] | ||
} | ||
}, | ||
"peerDependencies": { | ||
"koishi": "^4.14.0" | ||
}, | ||
"devDependencies": { | ||
"koishi": "^4.14.0" | ||
}, | ||
"dependencies": { | ||
"@satorijs/adapter-wechat-official": "^1.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { WechatOfficialBot } from '@satorijs/adapter-wechat-official' | ||
|
||
export default WechatOfficialBot | ||
export * from '@satorijs/adapter-wechat-official' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../../../tsconfig.base", | ||
"compilerOptions": { | ||
"outDir": "lib", | ||
"rootDir": "src", | ||
}, | ||
"include": [ | ||
"src", | ||
], | ||
} |