mirror of
https://github.com/koishijs/novelai-bot
synced 2025-01-05 11:36:44 +08:00
initial commit
This commit is contained in:
commit
a0dc53b6bc
9
.editorconfig
Normal file
9
.editorconfig
Normal 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
5
.gitattributes
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
* text eol=lf
|
||||
|
||||
*.png -text
|
||||
*.jpg -text
|
||||
*.ico -text
|
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal 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
22
package.json
Normal 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
5
readme.md
Normal 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
11
src/index.ts
Normal 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
17
tsconfig.json
Normal 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"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user