Package.json conditionally loads dependencies