supercop.ts

cross-compiled javascript implementation of ed25519 based on supercop-ref10
git clone git://git.finwo.net/lib/supercop.ts
Log | Files | Refs | README | LICENSE

commit 194a4728bf3a45fcc0ce79fd5023eee9f36eaca8
parent 83342ceae4e073395ed636e8f6ca077d414ffef8
Author: finwo <finwo@pm.me>
Date:   Tue, 10 Sep 2019 16:46:33 +0200

Add tests to prepublish to prevent accidental breaking release

Diffstat:
Mpackage.json | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/package.json b/package.json @@ -6,6 +6,7 @@ "homepage": "http://git.finwo.net/supercop-js", "scripts": { "test": "node test.js", + "prepublish": "npm test", "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{print $2}' | sed 's/[\",]//g' | tr -d '[[:space:]]') && npm deprecate \"supercop@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"", "build": "./build.sh" },