Merge pull request #43 from ipfs/fix/links-when-dnslink
feat: improved CID column (filename and dnslink support)
Showing
This diff is collapsed.
... | ... | @@ -17,10 +17,11 @@ |
"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 -e \"\\n</style>\") > ./minified-wrapped-style.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" | ||
} | ||
... | ... |
Please register or sign in to comment