mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Install supported axios version. Update ignore files. Update package.json
This commit is contained in:
@@ -3,3 +3,4 @@ node_modules
|
|||||||
npm-debug.log
|
npm-debug.log
|
||||||
readme*
|
readme*
|
||||||
Start.bat
|
Start.bat
|
||||||
|
/dist
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,3 +17,4 @@ public/settings.json
|
|||||||
whitelist.txt
|
whitelist.txt
|
||||||
.vscode
|
.vscode
|
||||||
secrets.json
|
secrets.json
|
||||||
|
/dist
|
@@ -2,3 +2,5 @@ node_modules/
|
|||||||
/uploads/
|
/uploads/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/thumbnails
|
/thumbnails
|
||||||
|
secrets.json
|
||||||
|
/dist
|
1182
package-lock.json
generated
1182
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dqbd/tiktoken": "^1.0.2",
|
"@dqbd/tiktoken": "^1.0.2",
|
||||||
"axios": "^1.3.4",
|
"axios": "^0.27.2",
|
||||||
"command-exists": "^1.2.9",
|
"command-exists": "^1.2.9",
|
||||||
"compression": "^1",
|
"compression": "^1",
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
@@ -42,7 +42,8 @@
|
|||||||
},
|
},
|
||||||
"version": "1.5.1",
|
"version": "1.5.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node server.js"
|
"start": "node server.js",
|
||||||
|
"pkg": "pkg ."
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"sillytavern": "./server.js"
|
"sillytavern": "./server.js"
|
||||||
@@ -53,12 +54,25 @@
|
|||||||
},
|
},
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"pkg": {
|
"pkg": {
|
||||||
|
"targets": [
|
||||||
|
"node18-linux-arm64",
|
||||||
|
"node18-linux-x64",
|
||||||
|
"node18-macos-arm64",
|
||||||
|
"node18-macos-x64",
|
||||||
|
"node18-windows-arm64",
|
||||||
|
"node18-windows-x64"
|
||||||
|
],
|
||||||
"assets": [
|
"assets": [
|
||||||
"node_modules/**/*",
|
"node_modules/**/*",
|
||||||
"poe_graphql/**/*"
|
"poe_graphql/**/*"
|
||||||
],
|
],
|
||||||
|
"outputPath": "dist",
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"server.js"
|
"server.js"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"pkg": "^5.8.1",
|
||||||
|
"pkg-fetch": "^3.5.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user