koishi-plugin-new-auth 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "koishi-plugin-new-auth",
3
+ "version": "0.1.0",
4
+ "description": "Role and scope based command permission layer for Koishi.",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "files": [
8
+ "lib",
9
+ "README.md",
10
+ "newauth.md"
11
+ ],
12
+ "scripts": {
13
+ "build": "tsc -p tsconfig.json",
14
+ "typecheck": "tsc -p tsconfig.json --noEmit",
15
+ "prepack": "npm run build"
16
+ },
17
+ "keywords": [
18
+ "koishi",
19
+ "plugin",
20
+ "auth",
21
+ "permission",
22
+ "role"
23
+ ],
24
+ "license": "MIT",
25
+ "peerDependencies": {
26
+ "koishi": "^4.18.0"
27
+ },
28
+ "devDependencies": {
29
+ "@types/node": "^22.0.0",
30
+ "koishi": "4.18.11",
31
+ "typescript": "^5.8.0"
32
+ },
33
+ "koishi": {
34
+ "description": {
35
+ "zh": "基于角色、作用域和指令策略的新权限系统。",
36
+ "en": "Role and scope based command permission layer."
37
+ },
38
+ "service": {
39
+ "required": [
40
+ "database"
41
+ ]
42
+ }
43
+ }
44
+ }