initial commit

This commit is contained in:
Shigma 2022-10-05 23:12:51 +08:00
commit a0dc53b6bc
No known key found for this signature in database
GPG Key ID: 414458B84ACF8744
7 changed files with 86 additions and 0 deletions

9
.editorconfig Normal file
View File

@ -0,0 +1,9 @@
root = true
[*]
insert_final_newline = true
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

5
.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
* text eol=lf
*.png -text
*.jpg -text
*.ico -text

17
.gitignore vendored Normal file
View File

@ -0,0 +1,17 @@
lib
dist
node_modules
npm-debug.log
yarn-debug.log
yarn-error.log
tsconfig.tsbuildinfo
.eslintcache
.DS_Store
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "koishi-plugin-novelai",
"description": "[NovelAI](https://novelai.net/)",
"private": true,
"version": "1.0.0",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"license": "MIT",
"scripts": {},
"keywords": [
"chatbot",
"koishi",
"plugin"
],
"peerDependencies": {
"koishi": "^4.9.3"
}
}

5
readme.md Normal file
View File

@ -0,0 +1,5 @@
# koishi-plugin-novelai
[![npm](https://img.shields.io/npm/v/koishi-plugin-novelai?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-novelai)
[NovelAI](https://novelai.net/)

11
src/index.ts Normal file
View File

@ -0,0 +1,11 @@
import { Context, Schema } from 'koishi'
export const name = 'novelai'
export interface Config {}
export const Config: Schema<Config> = Schema.object({})
export function apply(ctx: Context) {
// write your plugin here
}

17
tsconfig.json Normal file
View File

@ -0,0 +1,17 @@
{
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"target": "es2020",
"module": "commonjs",
"declaration": true,
"composite": true,
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "node"
},
"include": [
"src"
]
}