客户端构建

This commit is contained in:
chaos-zhu 2024-07-31 14:11:54 +08:00
parent 9b432e8109
commit 396467f219
2 changed files with 15 additions and 6 deletions

View File

@ -4,13 +4,14 @@
"description": "easynode-client",
"bin": "./bin/www",
"pkg": {
"outputPath": "dist"
"outputPath": "dist",
"targets": ["node18-linux-x64", "node18-linux-arm64"]
},
"scripts": {
"client": "nodemon ./app/main.js",
"pkgwin": "pkg . -t node16-win-x64",
"pkglinux:x86": "pkg . -t node16-linux-x64",
"pkglinux:arm": "pkg . -t node16-linux-arm64"
"pkg": "pkg .",
"pkglinux:x86": "pkg . -t node18-linux-x64",
"pkglinux:arm": "pkg . -t node18-linux-x64"
},
"keywords": [],
"author": "",
@ -21,7 +22,7 @@
]
},
"dependencies": {
"axios": "^1.7.2",
"axios": "0.27.2",
"eslint": "^8.56.0",
"koa": "^2.15.3",
"node-os-utils": "^1.3.7",

View File

@ -1504,6 +1504,14 @@ available-typed-arrays@^1.0.7:
dependencies:
possible-typed-array-names "^1.0.0"
axios@0.27.2:
version "0.27.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972"
integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==
dependencies:
follow-redirects "^1.14.9"
form-data "^4.0.0"
axios@^1.7.2:
version "1.7.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621"
@ -2401,7 +2409,7 @@ flatted@^3.2.7, flatted@^3.2.9:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
follow-redirects@^1.15.6:
follow-redirects@^1.14.9, follow-redirects@^1.15.6:
version "1.15.6"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b"
integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==