mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-20 14:25:07 +00:00
remove some unused deps
This commit is contained in:
@@ -22,17 +22,12 @@
|
|||||||
"chalk": "^2.3.0",
|
"chalk": "^2.3.0",
|
||||||
"cheerio": "^1.0.0-rc.2",
|
"cheerio": "^1.0.0-rc.2",
|
||||||
"chokidar": "^1.7.0",
|
"chokidar": "^1.7.0",
|
||||||
"code-frame": "^5.0.0",
|
|
||||||
"escape-html": "^1.0.3",
|
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
"locate-character": "^2.0.5",
|
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mri": "^1.1.0",
|
|
||||||
"node-fetch": "^1.7.3",
|
"node-fetch": "^1.7.3",
|
||||||
"polka": "^0.3.4",
|
"polka": "^0.3.4",
|
||||||
"port-authority": "^1.0.0",
|
"port-authority": "^1.0.0",
|
||||||
"pretty-ms": "^3.1.0",
|
"pretty-ms": "^3.1.0",
|
||||||
"relative": "^3.0.2",
|
|
||||||
"require-relative": "^0.8.7",
|
"require-relative": "^0.8.7",
|
||||||
"rimraf": "^2.6.2",
|
"rimraf": "^2.6.2",
|
||||||
"sade": "^1.4.0",
|
"sade": "^1.4.0",
|
||||||
@@ -50,7 +45,6 @@
|
|||||||
"@types/mkdirp": "^0.5.2",
|
"@types/mkdirp": "^0.5.2",
|
||||||
"@types/rimraf": "^2.0.2",
|
"@types/rimraf": "^2.0.2",
|
||||||
"compression": "^1.7.1",
|
"compression": "^1.7.1",
|
||||||
"electron": "^1.8.2",
|
|
||||||
"eslint": "^4.13.1",
|
"eslint": "^4.13.1",
|
||||||
"eslint-plugin-import": "^2.8.0",
|
"eslint-plugin-import": "^2.8.0",
|
||||||
"get-port": "^3.2.0",
|
"get-port": "^3.2.0",
|
||||||
|
|||||||
@@ -10,10 +10,6 @@ import { dest } from '../config';
|
|||||||
|
|
||||||
const app = polka();
|
const app = polka();
|
||||||
|
|
||||||
function read_json(file: string) {
|
|
||||||
return JSON.parse(sander.readFileSync(file, { encoding: 'utf-8' }));
|
|
||||||
}
|
|
||||||
|
|
||||||
export default async function exporter(export_dir: string) {
|
export default async function exporter(export_dir: string) {
|
||||||
const build_dir = dest();
|
const build_dir = dest();
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import * as fs from 'fs';
|
|||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as child_process from 'child_process';
|
import * as child_process from 'child_process';
|
||||||
import sade from 'sade';
|
import sade from 'sade';
|
||||||
import mri from 'mri';
|
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import prettyMs from 'pretty-ms';
|
import prettyMs from 'pretty-ms';
|
||||||
import help from './help.md';
|
import help from './help.md';
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import { ClientRequest, ServerResponse } from 'http';
|
|||||||
import mkdirp from 'mkdirp';
|
import mkdirp from 'mkdirp';
|
||||||
import rimraf from 'rimraf';
|
import rimraf from 'rimraf';
|
||||||
import serialize from 'serialize-javascript';
|
import serialize from 'serialize-javascript';
|
||||||
import escape_html from 'escape-html';
|
|
||||||
import { lookup } from './mime';
|
import { lookup } from './mime';
|
||||||
import { create_routes, templates, create_compilers } from 'sapper/core.js';
|
import { create_routes, templates, create_compilers } from 'sapper/core.js';
|
||||||
import { dest, dev } from '../config';
|
import { dest, dev } from '../config';
|
||||||
|
|||||||
Reference in New Issue
Block a user