Update site build and ncc

This commit is contained in:
Bret Comnes
2022-02-08 11:13:10 -08:00
parent fea2d4780c
commit def67b48c6
4 changed files with 3274 additions and 3262 deletions

6501
dist/index.js vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Deploy to Neocities</title>
<meta name='viewport' content='initial-scale=1, viewport-fit=cover'>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="https://unpkg.com/highlight.js@^9/styles/github.css">
<link rel="stylesheet" href="https://unpkg.com/mine.css@^2/dist/style.css">
<link rel="stylesheet" href="https://unpkg.com/mine.css@^2/dist/layout.css">
</head>
<body>
<main class="markdown-body"></main>
</body>
</html>

View File

@@ -14,14 +14,14 @@
"webassert": "3.0.2" "webassert": "3.0.2"
}, },
"devDependencies": { "devDependencies": {
"@siteup/cli": "^1.3.3",
"@vercel/ncc": "^0.33.1",
"auto-changelog": "^2.0.0", "auto-changelog": "^2.0.0",
"@zeit/ncc": "^0.22.0", "browser-sync": "^2.27.7",
"budo": "^11.6.3",
"cpx2": "^4.0.0",
"dependency-check": "^4.1.0", "dependency-check": "^4.1.0",
"gh-release": "^6.0.0", "gh-release": "^6.0.0",
"npm-run-all": "^4.1.5", "mkdirp": "^1.0.4",
"sitedown": "^5.0.0", "npm-run-all2": "^5.0.2",
"standard": "^16.0.0" "standard": "^16.0.0"
}, },
"homepage": "https://github.com/bcomnes/deploy-to-neocities#readme", "homepage": "https://github.com/bcomnes/deploy-to-neocities#readme",
@@ -36,8 +36,7 @@
"scripts": { "scripts": {
"build": "npm run clean && run-p build:*", "build": "npm run clean && run-p build:*",
"build:action": "rm -rf dist && ncc build index.js -o dist -s", "build:action": "rm -rf dist && ncc build index.js -o dist -s",
"build:md": "sitedown . -b public -l layout.html", "build:site": "siteup --src . --dest public",
"build:static": "cpx '**/*.{png,ico}' public --ignore node_modules",
"clean": "rimraf public && mkdirp public", "clean": "rimraf public && mkdirp public",
"release": "git push --follow-tags && gh-release -y", "release": "git push --follow-tags && gh-release -y",
"start": "npm run watch", "start": "npm run watch",
@@ -48,9 +47,8 @@
"version:build": "npm run build:action && git add dist", "version:build": "npm run build:action && git add dist",
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md", "version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
"watch": "npm run clean && run-p watch:*", "watch": "npm run clean && run-p watch:*",
"watch:js": "budo --dir public --live --open", "watch:serve": "browser-sync start --server 'public' --files 'public'",
"watch:md": "npm run build:md -- -w", "watch:site": "npm run build:site -- -w"
"watch:static": "npm run build:static -- --watch"
}, },
"standard": { "standard": {
"ignore": [ "ignore": [