mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-07-06 03:20:43 +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:umd": "node ./scripts/bundle-umd",
|
||||||
"bundle:esm": "node ./scripts/bundle-esm",
|
"bundle:esm": "node ./scripts/bundle-esm",
|
||||||
"build": "yarn compile && yarn bundle",
|
"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"
|
"lint": "prettier \"{src,test}/**/*.{json,scss,html,ts}\" --write"
|
||||||
},
|
},
|
||||||
"main": "./lib/esm/monaco.contribution.js",
|
"main": "./lib/esm/monaco.contribution.js",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue