diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4ffb4d6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020-present Ninzore + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package.json b/package.json index 5db2dd5..22c1163 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,53 @@ { "name": "koishi-plugin-novelai", - "description": "[NovelAI](https://novelai.net/)", - "private": true, - "version": "1.0.0", + "description": "Generate images by NovelAI", + "version": "0.0.6", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ "lib", "dist" ], + "author": "Ninzore ", + "maintainers": [ + "Shigma " + ], "license": "MIT", - "scripts": {}, + "repository": { + "type": "git", + "url": "git+https://github.com/koishijs/koishi-plugin-novelai.git" + }, + "bugs": { + "url": "https://github.com/koishijs/koishi-plugin-novelai/issues" + }, + "homepage": "https://github.com/koishijs/koishi-plugin-novelai", + "scripts": { + "build": "atsc -b" + }, + "koishi": { + "browser": true, + "description": { + "en": "Generate images by [NovelAI](https://novelai.net/)", + "zh": "基于 [NovelAI](https://novelai.net/) 的画图插件" + } + }, "keywords": [ "chatbot", "koishi", - "plugin" + "plugin", + "novelai", + "ai", + "paint", + "image", + "generate" ], "peerDependencies": { "koishi": "^4.9.3" + }, + "devDependencies": { + "@types/node": "^17.0.45", + "atsc": "^1.1.2", + "koishi": "^4.9.3", + "typescript": "^4.8.4" } } diff --git a/readme.md b/readme.md index 61ace1e..f5484e1 100644 --- a/readme.md +++ b/readme.md @@ -2,4 +2,4 @@ [![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/) +基于 [NovelAI](https://novelai.net/) 的画图插件。