kopia lustrzana https://github.com/shoelace-style/shoelace
remove unnecessary dep
rodzic
d710eb3947
commit
257407758f
|
@ -56,7 +56,6 @@
|
||||||
"lint-staged": "^13.1.0",
|
"lint-staged": "^13.1.0",
|
||||||
"lunr": "^2.3.9",
|
"lunr": "^2.3.9",
|
||||||
"npm-check-updates": "^16.6.2",
|
"npm-check-updates": "^16.6.2",
|
||||||
"open": "^8.4.0",
|
|
||||||
"pascal-case": "^3.1.2",
|
"pascal-case": "^3.1.2",
|
||||||
"plop": "^3.1.1",
|
"plop": "^3.1.1",
|
||||||
"prettier": "^2.8.2",
|
"prettier": "^2.8.2",
|
||||||
|
|
|
@ -110,7 +110,6 @@
|
||||||
"lint-staged": "^13.1.0",
|
"lint-staged": "^13.1.0",
|
||||||
"lunr": "^2.3.9",
|
"lunr": "^2.3.9",
|
||||||
"npm-check-updates": "^16.6.2",
|
"npm-check-updates": "^16.6.2",
|
||||||
"open": "^8.4.0",
|
|
||||||
"pascal-case": "^3.1.2",
|
"pascal-case": "^3.1.2",
|
||||||
"plop": "^3.1.1",
|
"plop": "^3.1.1",
|
||||||
"prettier": "^2.8.2",
|
"prettier": "^2.8.2",
|
||||||
|
|
|
@ -7,7 +7,6 @@ import esbuild from 'esbuild';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import getPort, { portNumbers } from 'get-port';
|
import getPort, { portNumbers } from 'get-port';
|
||||||
import { globby } from 'globby';
|
import { globby } from 'globby';
|
||||||
import open from 'open';
|
|
||||||
import copy from 'recursive-copy';
|
import copy from 'recursive-copy';
|
||||||
|
|
||||||
const { bundle, copydir, dir, serve, types } = commandLineArgs([
|
const { bundle, copydir, dir, serve, types } = commandLineArgs([
|
||||||
|
@ -108,7 +107,6 @@ fs.mkdirSync(outdir, { recursive: true });
|
||||||
deleteSync('docs/dist');
|
deleteSync('docs/dist');
|
||||||
|
|
||||||
const browserSyncConfig = {
|
const browserSyncConfig = {
|
||||||
open: false,
|
|
||||||
startPath: '/',
|
startPath: '/',
|
||||||
port,
|
port,
|
||||||
logLevel: 'silent',
|
logLevel: 'silent',
|
||||||
|
@ -145,7 +143,6 @@ fs.mkdirSync(outdir, { recursive: true });
|
||||||
bs.init(browserSyncConfig, () => {
|
bs.init(browserSyncConfig, () => {
|
||||||
const url = `http://localhost:${port}`;
|
const url = `http://localhost:${port}`;
|
||||||
console.log(chalk.cyan(`Launched the Shoelace dev server at ${url} 🥾\n`));
|
console.log(chalk.cyan(`Launched the Shoelace dev server at ${url} 🥾\n`));
|
||||||
open(url);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Rebuild and reload when source files change
|
// Rebuild and reload when source files change
|
||||||
|
|
Ładowanie…
Reference in New Issue