Spaces:
Building
Building
周泳恩
commited on
Commit
·
8241ce9
1
Parent(s):
bf4ce1a
修复package.json LFS问题,确保其作为普通文本文件处理
Browse files- .cache/typescript/4.8/package.json +30 -3
- .gitattributes +1 -0
- package.json +141 -3
- tests/package.json +15 -3
.cache/typescript/4.8/package.json
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"private": true,
|
3 |
+
"dependencies": {
|
4 |
+
"types-registry": "^0.1.675"
|
5 |
+
},
|
6 |
+
"devDependencies": {
|
7 |
+
"@types/command-exists": "^1.2.3",
|
8 |
+
"@types/compression": "^1.7.5",
|
9 |
+
"@types/cookie-parser": "^1.4.6",
|
10 |
+
"@types/cors": "^2.8.17",
|
11 |
+
"@types/dompurify": "^3.0.4",
|
12 |
+
"@types/express": "^4.17.21",
|
13 |
+
"@types/jquery": "^3.5.29",
|
14 |
+
"@types/lodash": "^4.14.202",
|
15 |
+
"@types/mime-types": "^2.1.4",
|
16 |
+
"@types/multer": "^1.4.11",
|
17 |
+
"@types/node-fetch": "^2.6.9",
|
18 |
+
"@types/png-chunk-text": "^1.0.3",
|
19 |
+
"@types/png-chunks-encode": "^1.0.2",
|
20 |
+
"@types/png-chunks-extract": "^1.0.2",
|
21 |
+
"@types/response-time": "^2.3.8",
|
22 |
+
"@types/seedrandom": "^3.0.7",
|
23 |
+
"@types/showdown": "^2.0.3",
|
24 |
+
"@types/toastr": "^2.1.42",
|
25 |
+
"@types/write-file-atomic": "^4.0.3",
|
26 |
+
"@types/ws": "^8.5.10",
|
27 |
+
"@types/yargs": "^17.0.32",
|
28 |
+
"@types/yauzl": "^2.10.3"
|
29 |
+
}
|
30 |
+
}
|
.gitattributes
CHANGED
@@ -71,6 +71,7 @@ core.gz filter=lfs diff=lfs merge=lfs -text
|
|
71 |
*.less !filter !diff !merge text
|
72 |
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
73 |
*.nix !filter !diff !merge text
|
|
|
74 |
src/tokenizers/*.model filter=lfs diff=lfs merge=lfs -text
|
75 |
default/content/**/*.png filter=lfs diff=lfs merge=lfs -text
|
76 |
default/content/**/*.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
71 |
*.less !filter !diff !merge text
|
72 |
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
73 |
*.nix !filter !diff !merge text
|
74 |
+
package.json !filter !diff !merge text
|
75 |
src/tokenizers/*.model filter=lfs diff=lfs merge=lfs -text
|
76 |
default/content/**/*.png filter=lfs diff=lfs merge=lfs -text
|
77 |
default/content/**/*.jpg filter=lfs diff=lfs merge=lfs -text
|
package.json
CHANGED
@@ -1,3 +1,141 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dependencies": {
|
3 |
+
"@adobe/css-tools": "^4.4.0",
|
4 |
+
"@agnai/sentencepiece-js": "^1.1.1",
|
5 |
+
"@agnai/web-tokenizers": "^0.1.3",
|
6 |
+
"@iconfu/svg-inject": "^1.2.3",
|
7 |
+
"@mozilla/readability": "^0.5.0",
|
8 |
+
"@popperjs/core": "^2.11.8",
|
9 |
+
"@zeldafan0225/ai_horde": "^5.1.0",
|
10 |
+
"archiver": "^7.0.1",
|
11 |
+
"bing-translate-api": "^4.0.2",
|
12 |
+
"body-parser": "^1.20.2",
|
13 |
+
"bowser": "^2.11.0",
|
14 |
+
"command-exists": "^1.2.9",
|
15 |
+
"compression": "^1",
|
16 |
+
"cookie-parser": "^1.4.6",
|
17 |
+
"cookie-session": "^2.1.0",
|
18 |
+
"cors": "^2.8.5",
|
19 |
+
"csrf-sync": "^4.0.3",
|
20 |
+
"diff-match-patch": "^1.0.5",
|
21 |
+
"dompurify": "^3.2.4",
|
22 |
+
"droll": "^0.2.1",
|
23 |
+
"express": "^4.21.0",
|
24 |
+
"form-data": "^4.0.0",
|
25 |
+
"fuse.js": "^7.0.0",
|
26 |
+
"google-translate-api-browser": "^3.0.1",
|
27 |
+
"google-translate-api-x": "^10.7.1",
|
28 |
+
"handlebars": "^4.7.8",
|
29 |
+
"helmet": "^7.1.0",
|
30 |
+
"highlight.js": "^11.10.0",
|
31 |
+
"html-entities": "^2.5.2",
|
32 |
+
"iconv-lite": "^0.6.3",
|
33 |
+
"ip-matching": "^2.1.2",
|
34 |
+
"ip-regex": "^5.0.0",
|
35 |
+
"ipaddr.js": "^2.0.1",
|
36 |
+
"is-docker": "^3.0.0",
|
37 |
+
"jimp": "^0.22.10",
|
38 |
+
"localforage": "^1.10.0",
|
39 |
+
"lodash": "^4.17.21",
|
40 |
+
"mime-types": "^2.1.35",
|
41 |
+
"moment": "^2.30.1",
|
42 |
+
"morphdom": "^2.7.4",
|
43 |
+
"multer": "^1.4.5-lts.1",
|
44 |
+
"node-fetch": "^3.3.2",
|
45 |
+
"node-persist": "^4.0.1",
|
46 |
+
"open": "^8.4.2",
|
47 |
+
"png-chunk-text": "^1.0.0",
|
48 |
+
"png-chunks-encode": "^1.0.0",
|
49 |
+
"png-chunks-extract": "^1.0.0",
|
50 |
+
"proxy-agent": "^6.4.0",
|
51 |
+
"rate-limiter-flexible": "^5.0.0",
|
52 |
+
"response-time": "^2.3.2",
|
53 |
+
"sanitize-filename": "^1.6.3",
|
54 |
+
"seedrandom": "^3.0.5",
|
55 |
+
"showdown": "^2.1.0",
|
56 |
+
"sillytavern-transformers": "2.14.6",
|
57 |
+
"simple-git": "^3.19.1",
|
58 |
+
"slidetoggle": "^4.0.0",
|
59 |
+
"tiktoken": "^1.0.16",
|
60 |
+
"url-join": "^5.0.0",
|
61 |
+
"vectra": "^0.2.2",
|
62 |
+
"wavefile": "^11.0.0",
|
63 |
+
"webpack": "^5.95.0",
|
64 |
+
"write-file-atomic": "^5.0.1",
|
65 |
+
"ws": "^8.17.1",
|
66 |
+
"yaml": "^2.3.4",
|
67 |
+
"yargs": "^17.7.1",
|
68 |
+
"yauzl": "^2.10.0"
|
69 |
+
},
|
70 |
+
"engines": {
|
71 |
+
"node": ">= 18"
|
72 |
+
},
|
73 |
+
"overrides": {
|
74 |
+
"vectra": {
|
75 |
+
"openai": "^4.17.0"
|
76 |
+
},
|
77 |
+
"axios": {
|
78 |
+
"follow-redirects": "^1.15.4"
|
79 |
+
},
|
80 |
+
"node-fetch": {
|
81 |
+
"whatwg-url": "^14.0.0"
|
82 |
+
}
|
83 |
+
},
|
84 |
+
"name": "sillytavern",
|
85 |
+
"type": "module",
|
86 |
+
"license": "AGPL-3.0",
|
87 |
+
"repository": {
|
88 |
+
"type": "git",
|
89 |
+
"url": "https://github.com/SillyTavern/SillyTavern.git"
|
90 |
+
},
|
91 |
+
"version": "1.12.12",
|
92 |
+
"scripts": {
|
93 |
+
"start": "node server.js",
|
94 |
+
"debug": "node server.js --inspect",
|
95 |
+
"start:deno": "deno run --allow-run --allow-net --allow-read --allow-write --allow-sys --allow-env server.js",
|
96 |
+
"start:bun": "bun server.js",
|
97 |
+
"start:no-csrf": "node server.js --disableCsrf",
|
98 |
+
"postinstall": "node post-install.js",
|
99 |
+
"lint": "eslint \"src/**/*.js\" \"public/**/*.js\" ./*.js",
|
100 |
+
"lint:fix": "eslint \"src/**/*.js\" \"public/**/*.js\" ./*.js --fix",
|
101 |
+
"plugins:update": "node plugins update",
|
102 |
+
"plugins:install": "node plugins install"
|
103 |
+
},
|
104 |
+
"bin": {
|
105 |
+
"sillytavern": "./server.js"
|
106 |
+
},
|
107 |
+
"rules": {
|
108 |
+
"no-path-concat": "off",
|
109 |
+
"no-var": "off"
|
110 |
+
},
|
111 |
+
"main": "server.js",
|
112 |
+
"devDependencies": {
|
113 |
+
"@types/archiver": "^6.0.2",
|
114 |
+
"@types/command-exists": "^1.2.3",
|
115 |
+
"@types/compression": "^1.7.5",
|
116 |
+
"@types/cookie-parser": "^1.4.7",
|
117 |
+
"@types/cookie-session": "^2.0.49",
|
118 |
+
"@types/cors": "^2.8.17",
|
119 |
+
"@types/deno": "^2.0.0",
|
120 |
+
"@types/express": "^4.17.21",
|
121 |
+
"@types/jquery": "^3.5.29",
|
122 |
+
"@types/jquery-cropper": "^1.0.4",
|
123 |
+
"@types/jquery.transit": "^0.9.33",
|
124 |
+
"@types/jqueryui": "^1.12.23",
|
125 |
+
"@types/lodash": "^4.17.10",
|
126 |
+
"@types/mime-types": "^2.1.4",
|
127 |
+
"@types/multer": "^1.4.12",
|
128 |
+
"@types/node": "^18.19.55",
|
129 |
+
"@types/node-persist": "^3.1.8",
|
130 |
+
"@types/png-chunk-text": "^1.0.3",
|
131 |
+
"@types/png-chunks-encode": "^1.0.2",
|
132 |
+
"@types/png-chunks-extract": "^1.0.2",
|
133 |
+
"@types/response-time": "^2.3.8",
|
134 |
+
"@types/select2": "^4.0.63",
|
135 |
+
"@types/toastr": "^2.1.43",
|
136 |
+
"@types/write-file-atomic": "^4.0.3",
|
137 |
+
"@types/yargs": "^17.0.33",
|
138 |
+
"@types/yauzl": "^2.10.3",
|
139 |
+
"eslint": "^8.57.0"
|
140 |
+
}
|
141 |
+
}
|
tests/package.json
CHANGED
@@ -1,3 +1,15 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "sillytavern-tests",
|
3 |
+
"type": "module",
|
4 |
+
"license": "AGPL-3.0",
|
5 |
+
"scripts": {
|
6 |
+
"test": "jest"
|
7 |
+
},
|
8 |
+
"dependencies": {
|
9 |
+
"@types/jest": "^29.5.12",
|
10 |
+
"eslint": "^8.57.0",
|
11 |
+
"eslint-plugin-jest": "^28.6.0",
|
12 |
+
"jest": "^29.7.0",
|
13 |
+
"jest-puppeteer": "^10.0.1"
|
14 |
+
}
|
15 |
+
}
|