Put react dep into devDeps and removed require