From 7b7e9f255a3afe78d9f1e23189e2a025494013d4 Mon Sep 17 00:00:00 2001 From: "Micael Levi (@micalevisk)" Date: Mon, 21 Mar 2022 22:00:43 -0400 Subject: [PATCH] chore(npm): add `prepare` npm-script to build the code --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f6eb160..c022f61 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "tape": "^5.5.2" }, "scripts": { + "prepare": "npm run build", "format:fix": "prettier --write package.json *.markdown src/** test/** **/*.yml", "build": "esbuild src/index.js --sourcemap --bundle --minify --outfile=index.js --format=cjs", "test": "tap --reporter=base --coverage-report=html test/*.js"