Remove Firebase hosting, back to Express

This commit is contained in:
Michael Jackson
2019-01-26 15:20:15 -08:00
parent 0ae074e164
commit 5533725f64
32 changed files with 1174 additions and 5451 deletions

View File

@ -1,12 +1,13 @@
import url from 'url';
import https from 'https';
import { npmRegistryURL } from '../config';
import debug from './debug';
import bufferStream from './bufferStream';
import agent from './registryAgent';
const npmRegistryURL =
process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org';
function parseJSON(res) {
return bufferStream(res).then(JSON.parse);
}