How to use npm to manage different versions of babel

my project uses @ babel/core@7, but other packages rely on babel-core@6. I use 7 to run locally, but it uses 6 on other platforms. Could you tell me how to specify 7?

Jun.01,2021
Menu