Answer the question
In order to leave comments, you need to log in
How to add yarn run build command to lerna?
Good afternoon.
There is a command in package.json
It is necessary to make sure that in the same command, right after lerna bootstrap , the yarn run build command starts. Can
you please tell me how to add this command here?
"postinstall": "lerna bootstrap",
Answer the question
In order to leave comments, you need to log in
Either use the npm-run-all package or write a lerna bootstrap && yarn run build
. But on Windows, emnip will swear at &&.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question