Skip to content

Commit

Permalink
feat(line): add adapter-line
Browse files Browse the repository at this point in the history
  • Loading branch information
XxLittleCxX authored and shigma committed Jul 16, 2023
1 parent 5ba1dac commit 4154e0f
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
49 changes: 49 additions & 0 deletions plugins/adapter/line/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "@koishijs/plugin-adapter-line",
"description": "Line Adapter for Koishi",
"version": "1.0.0",
"main": "lib/index.js",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"author": "LittleC <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/satorijs/satori.git",
"directory": "adapters/line"
},
"bugs": {
"url": "https://github.com/satorijs/satori/issues"
},
"homepage": "https://koishi.chat/plugins/adapter/line.html",
"keywords": [
"bot",
"line",
"chatbot",
"koishi"
],
"koishi": {
"browser": true,
"description": {
"en": "Line Adapter",
"zh": "Line 适配器"
},
"service": {
"implements": [
"adapter"
]
}
},
"peerDependencies": {
"koishi": "^4.13.5"
},
"devDependencies": {
"koishi": "^4.13.5"
},
"dependencies": {
"@satorijs/adapter-line": "^1.0.0"
}
}
4 changes: 4 additions & 0 deletions plugins/adapter/line/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { LineBot } from '@satorijs/adapter-line'

export default LineBot
export * from '@satorijs/adapter-line'
10 changes: 10 additions & 0 deletions plugins/adapter/line/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../../tsconfig.base",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src",
},
"include": [
"src",
],
}

0 comments on commit 4154e0f

Please sign in to comment.