fix merge conflicts
Showing
.github/config.yml
0 → 100644
.github/workflows/build.yml
0 → 100644
.gx/lastpubver
0 → 100644
CHANGELOG.md
0 → 100644
LICENSE
0 → 100644
dir-index.html
0 → 100644
This diff is collapsed.
index.go
0 → 100644
knownIcons.txt
0 → 100644
package.json
0 → 100644
{ | ||
"name": "dir-index-html", | ||
"author": "lgierth", | ||
"description": "Directory listing HTML for go-DMS3 gateways", | ||
"version": "0.0.1", | ||
"homepage": "https://gitlab.dms3.io/dms3/dir-index-html#readme", | ||
"bugs": { | ||
"url": "https://gitlab.dms3.io/dms3/dir-index-html" | ||
}, | ||
"gx": { | ||
"dvcsimport": "gitlab.dms3.io/dms3/dir-index-html", | ||
"goversion": "1.15" | ||
}, | ||
"gxDependencies": [], | ||
"gxVersion": "0.14.0", | ||
"language": "go", | ||
"license": "MIT", | ||
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"", | ||
"scripts": { | ||
"start": "cd test && go run .", | ||
"build": "npm run build:clean && npm run build:remove-style-links && npm run build:minify-wrap-css && npm run build:combine-html-css && npm run build:remove-unused", | ||
"build:clean": "rm dir-index.html", | ||
"build:remove-style-links": "sed '/<link rel=\"stylesheet\"/d' ./src/dir-index.html > ./base-html.html", | ||
"build:minify-wrap-css": "(echo \"<style>\" && cat ./src/icons.css ./src/style.css | tr -d \"\t\n\r\" && echo && echo \"</style>\") > ./minified-wrapped-style.html", | ||
"build:combine-html-css": "sed '/<head>/ r ./minified-wrapped-style.html' ./base-html.html > ./dir-index.html", | ||
"build:remove-unused": "rm ./base-html.html && rm ./minified-wrapped-style.html" | ||
} | ||
} |
src/dir-index.html
0 → 100644
src/icons.css
0 → 100644
This diff is collapsed.
src/style.css
0 → 100644
test/go.mod
0 → 100644
test/main.go
0 → 100644
Please register or sign in to comment