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
|
||||
readme*
|
||||
Start.bat
|
||||
/dist
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,3 +17,4 @@ public/settings.json
|
||||
whitelist.txt
|
||||
.vscode
|
||||
secrets.json
|
||||
/dist
|
@@ -2,3 +2,5 @@ node_modules/
|
||||
/uploads/
|
||||
.DS_Store
|
||||
/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": {
|
||||
"@dqbd/tiktoken": "^1.0.2",
|
||||
"axios": "^1.3.4",
|
||||
"axios": "^0.27.2",
|
||||
"command-exists": "^1.2.9",
|
||||
"compression": "^1",
|
||||
"cookie-parser": "^1.4.6",
|
||||
@@ -42,7 +42,8 @@
|
||||
},
|
||||
"version": "1.5.1",
|
||||
"scripts": {
|
||||
"start": "node server.js"
|
||||
"start": "node server.js",
|
||||
"pkg": "pkg ."
|
||||
},
|
||||
"bin": {
|
||||
"sillytavern": "./server.js"
|
||||
@@ -53,12 +54,25 @@
|
||||
},
|
||||
"main": "server.js",
|
||||
"pkg": {
|
||||
"targets": [
|
||||
"node18-linux-arm64",
|
||||
"node18-linux-x64",
|
||||
"node18-macos-arm64",
|
||||
"node18-macos-x64",
|
||||
"node18-windows-arm64",
|
||||
"node18-windows-x64"
|
||||
],
|
||||
"assets": [
|
||||
"node_modules/**/*",
|
||||
"poe_graphql/**/*"
|
||||
],
|
||||
"outputPath": "dist",
|
||||
"scripts": [
|
||||
"server.js"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"pkg": "^5.8.1",
|
||||
"pkg-fetch": "^3.5.2"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user