switch to polka, remove unused deps

This commit is contained in:
Rich Harris
2018-03-10 09:39:07 -05:00
parent b1067103a4
commit 1eed1023aa
10 changed files with 13 additions and 5996 deletions

View File

@@ -1,14 +1,14 @@
import * as child_process from 'child_process';
import * as path from 'path';
import * as sander from 'sander';
import express from 'express';
import polka from 'polka';
import cheerio from 'cheerio';
import URL from 'url-parse';
import fetch from 'node-fetch';
import * as ports from 'port-authority';
import { dest } from '../config';
const app = express();
const app = polka();
function read_json(file: string) {
return JSON.parse(sander.readFileSync(file, { encoding: 'utf-8' }));