Move build script into prepare

This is needed for the examples to work.
This commit is contained in:
Remco Haszing 2021-03-30 21:30:02 +02:00
parent 9f10ccc9f9
commit 1b173c35a9
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -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",