From d0294bb2a66b72bb955f14fdbe9ca91f219cdc21 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Thu, 21 Sep 2023 21:07:52 +0000 Subject: [PATCH] Clarify build:release script. Closes gh-86 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38cf3da..d633aef 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "bench": "cd benchmark; node secp256k1.js; node curves.js; node ecdh.js; node hash-to-curve.js; node modular.js; node bls.js; node ristretto255.js; node decaf448.js", "build": "tsc && tsc -p tsconfig.esm.json", - "build:release": "rollup -c rollup.config.js", + "build:release": "cd build; npm install && npm run build", "build:clean": "rm *.{js,d.ts,d.ts.map,js.map} esm/*.{js,d.ts,d.ts.map,js.map} 2> /dev/null", "lint": "prettier --check 'src/**/*.{js,ts}' 'test/*.js'", "format": "prettier --write 'src/**/*.{js,ts}' 'test/*.js'",