From 4e4922c6a3d3b4449e4bd78a2721c2953ec84622 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 9 Jul 2020 10:18:52 -0400 Subject: Add ssb-pkg build script --- package.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d597f2..a54af6b 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,20 @@ "unzip": "^0.1.11" }, "devDependencies": { - "ssb-client": "^4.5.7" + "ssb-client": "^4.5.7", + "ssb-pkg": "*" + }, + "pkg": { + "targets": [ + "node12.16.1-linux-x64", + "node12.16.1-linux-armv7", + "node12.16.1-linux-arm64", + "node12.16.1-linux-ia32", + "node12.16.1-macos-x64" + ] + }, + "scripts": { + "build": "ssb-pkg . --no-bytecode -o install-$npm_package_version.sh" }, "author": "cel", "homepage": "https://git.scuttlebot.io/%25YAg1hicat%2B2GELjE2QJzDwlAWcx0ML%2B1sXEdsWwvdt8%3D.sha256", -- cgit v1.2.3