Optimize package.json dependencies