From bf833af0dba58d93becb01996f8bfae1bfa85087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=92scar=20Casajuana?= Date: Wed, 22 Feb 2023 17:32:33 +0100 Subject: [PATCH] Ensure build process also runs browserify task --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cb9b035..75ae222 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "scripts": { "prepublishOnly": "npm run build", "clean": "rimraf dist", - "build": "npm run clean && ./node_modules/.bin/tsc", - "browserify": "npm run build && browserify dist/index.js --standalone blindsecp256k1 > dist/blindsecp256k1-browser.js", + "build": "npm run clean && ./node_modules/.bin/tsc && npm run browserify", + "browserify": "browserify dist/index.js --standalone blindsecp256k1 > dist/blindsecp256k1-browser.js", "watch": "./node_modules/.bin/tsc -w -p .", "ts-node": "./node_modules/.bin/ts-node", "test": "npm run build && ./node_modules/.bin/mocha -r ts-node/register test/**/*.ts"