✨ 调整客户端构建方式
This commit is contained in:
parent
5ff574ce02
commit
b41f10cc0b
@ -4,14 +4,13 @@
|
|||||||
"description": "easynode-client",
|
"description": "easynode-client",
|
||||||
"bin": "./bin/www",
|
"bin": "./bin/www",
|
||||||
"pkg": {
|
"pkg": {
|
||||||
"outputPath": "dist",
|
"outputPath": "dist"
|
||||||
"targets": ["node18-linux-x64", "node18-linux-arm64"]
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"client": "nodemon ./app/main.js",
|
"client": "nodemon ./app/main.js",
|
||||||
"pkg": "pkg .",
|
"pkg": "pkg .",
|
||||||
"pkglinux:x86": "pkg . -t node18-linux-x64",
|
"pkglinux:x86": "pkg . -t node18-linux-x64",
|
||||||
"pkglinux:arm": "pkg . -t node18-linux-x64"
|
"pkglinux:arm": "pkg . -t node18-linux-arm"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user