First phaser game doubts

I’m new to phaser and I’m trying to make a game but I think that I’m doing many things wrong. Can anyone have a look at my code and tell me what to change?

Code: Game - Replit

Anything in particular?

I’m having problems at the overlap when the player hits the boss. The animations seems to overlap eachother and the boss freezes in a frame.