diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-07-09 10:18:52 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-07-09 12:58:39 -0400 |
commit | 4e4922c6a3d3b4449e4bd78a2721c2953ec84622 (patch) | |
tree | a6f3fdaaf5feac7d121e0888841a1efca3baf0b3 | |
parent | cf6be1cf1b82af4166f66e50ab8d444ca2e4ca75 (diff) | |
download | patchfoo-4e4922c6a3d3b4449e4bd78a2721c2953ec84622.tar.gz patchfoo-4e4922c6a3d3b4449e4bd78a2721c2953ec84622.zip |
Add ssb-pkg build script
-rw-r--r-- | package.json | 15 |
1 files changed, 14 insertions, 1 deletions
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", |