Update site build and ncc

This commit is contained in:
Bret Comnes 2022-02-08 11:13:10 -08:00
parent fea2d4780c
commit def67b48c6
No known key found for this signature in database
GPG Key ID: 3705F4634DC3A1AC
4 changed files with 3274 additions and 3262 deletions

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