@black-duty/sing-box-schema 1.12.2
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/LICENSE +21 -0
- package/README.md +138 -0
- package/dist/index.cjs +4117 -0
- package/dist/index.d.cts +30737 -0
- package/dist/index.d.ts +30737 -0
- package/dist/index.js +3997 -0
- package/package.json +74 -0
- package/schema.json +9981 -0
- package/schema.zh.json +9981 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@black-duty/sing-box-schema",
|
|
3
|
+
"version": "1.12.2",
|
|
4
|
+
"description": "A comprehensive Zod & JSON schema for sing-box configuration files, built with TypeScript.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"sing-box",
|
|
7
|
+
"schema",
|
|
8
|
+
"zod",
|
|
9
|
+
"typescript",
|
|
10
|
+
"bun",
|
|
11
|
+
"configuration"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/BlackDuty/sing-box-schema#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/BlackDuty/sing-box-schema/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/BlackDuty/sing-box-schema.git"
|
|
20
|
+
},
|
|
21
|
+
"author": "BlackDuty",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"files": [
|
|
24
|
+
"./dist",
|
|
25
|
+
"schema.json",
|
|
26
|
+
"schema.zh.json"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsdown && bun run generate",
|
|
30
|
+
"dev": "tsdown --watch",
|
|
31
|
+
"typecheck": "tsc --noEmit",
|
|
32
|
+
"lint": "biome check --write",
|
|
33
|
+
"generate": "bun run scripts/gen-json-schema.ts",
|
|
34
|
+
"prepublishOnly": "bun run build"
|
|
35
|
+
},
|
|
36
|
+
"main": "./dist/index.js",
|
|
37
|
+
"module": "./dist/index.js",
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"exports": {
|
|
40
|
+
".": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"default": "./dist/index.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/index.d.cts",
|
|
47
|
+
"default": "./dist/index.cjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"./package.json": "./package.json",
|
|
51
|
+
"./schema.json": "./schema.json",
|
|
52
|
+
"./schema.zh.json": "./schema.zh.json"
|
|
53
|
+
},
|
|
54
|
+
"type": "module",
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@biomejs/biome": "^2.2.0",
|
|
57
|
+
"@tsconfig/bun": "^1.0.8",
|
|
58
|
+
"@types/bun": "^1.2.20",
|
|
59
|
+
"tsdown": "^0.14.1"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"typescript": "^5"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public",
|
|
66
|
+
"registry": "https://registry.npmjs.org",
|
|
67
|
+
"provenance": true
|
|
68
|
+
},
|
|
69
|
+
"readme": "README.md",
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"zod": "^4.0.17"
|
|
72
|
+
},
|
|
73
|
+
"packageManager": "bun@1.2.20"
|
|
74
|
+
}
|