From 560772843052657d517195f371f1aa3a693184f7 Mon Sep 17 00:00:00 2001 From: KristianFJones Date: Sun, 17 May 2020 21:47:06 +0000 Subject: [PATCH] fix: Add prepublishOnly command to build package --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 8360211..e955621 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ ], "scripts": { "test": "echo TODO", + "prepublishOnly": "npm run build", "build": "node --loader @k-foss/ts-esnode --experimental-modules --experimental-specifier-resolution=node ./bin/build.ts", "start:debug": "node --loader @k-foss/ts-esnode --experimental-modules --harmony-optional-chaining --experimental-specifier-resolution=node --harmony-top-level-await ./", "prettier": "prettier --config .prettierrc --check \"src/**/*ts\" \"bin/**/*.ts\"",