Refactor package.json usage in client bundle builder.