mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-19 22:41:39 +00:00
Move yarn prepare script to prepack
No need to rebuild the package on every `yarn install`, but it should be built before packing.
This commit is contained in:
parent
1c532f6815
commit
f4130f38a3
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,8 @@
|
|||
"bundle:umd": "node ./scripts/bundle-umd",
|
||||
"bundle:esm": "node ./scripts/bundle-esm",
|
||||
"build": "yarn compile && yarn bundle",
|
||||
"prepare": "husky install && yarn build",
|
||||
"prepare": "husky install",
|
||||
"prepack": "yarn build",
|
||||
"lint": "prettier \"{src,test}/**/*.{json,scss,html,ts}\" --write"
|
||||
},
|
||||
"main": "./lib/esm/monaco.contribution.js",
|
||||
|
|
|
|||
Loading…
Reference in a new issue