From 1b173c35a97ededc9f2adf24f3d4eab7a6e4b710 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Tue, 30 Mar 2021 21:30:02 +0200 Subject: [PATCH] Move build script into prepare This is needed for the examples to work. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 06cde9a..b5bf5f3 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,7 @@ "bundle:umd": "node ./scripts/bundle-umd", "bundle:esm": "node ./scripts/bundle-esm", "build": "yarn compile && yarn bundle", - "prepare": "husky install", - "prepack": "yarn build", + "prepare": "husky install && yarn build", "lint": "prettier \"**/*.{css,js,json,jsx,html,md,ts}\" --check" }, "main": "./lib/esm/monaco.contribution.js",