From c550ee375448430b8baf45d47124489bf9cb1d19 Mon Sep 17 00:00:00 2001 From: Torben Ewert Date: Tue, 18 Feb 2020 20:46:14 +0100 Subject: [PATCH] TASK: Update Test Workflow --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 89d6945..6008b31 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,12 @@ "description": "Secure Hash Algorithms for ReasonML", "version": "0.1.1", "scripts": { - "test": "jest", - "test:watch": "jest --watchAll" + "prepare": "npm run test && npm run build", + "build": "bsb -clean-world && bsb -make-world", + "start": "bsb -clean-world && bsb -make-world -w", + "clean": "bsb -clean-world", + "test": "bsb -clean-world && bsb -make-world && jest", + "test:watch": "bsb -clean-world && bsb -make-world && jest --watchAll" }, "homepage": "https://github.com/eWert-Online/re-crypt#readme", "bugs": "https://github.com/eWert-Online/re-crypt/issues", -- 2.51.2