Large deviations technique on stochastic reaction-diffusion equations