From d1d5910a59d3a2f68f7a199f649f94c533b039e7 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 25 Jul 2022 02:49:14 -0400 Subject: [PATCH] *Update scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a283142..c0df2a8 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,11 @@ }, "scripts": { "compile": "tsc", + "prebuild": "bash prebuild.sh", "bundle": "node esbuild.config.js", - "package": "bash prebuild.sh && pkg -c pkg.json node-dist/index.js -t linux", - "build": "npm run compile && npm run bundle && npm run package" + "package": "pkg -c pkg.json node-dist/index.js -t linux --no-bytecode --public", + "package-debug": "pkg -c pkg.json node-dist/index.js -b -t linux --no-bytecode --public", + "build": "npm run compile && npm run prebuild && npm run bundle && npm run package" }, "dependencies": { "@hyperswarm/dht": "^6.0.1",