kubo/package.json

27 lines
1.0 KiB
JSON

{
"name": "dir-index-html",
"author": "lgierth",
"description": "Directory listing HTML for go-ipfs gateways",
"version": "1.2.0",
"homepage": "https://github.com/ipfs/dir-index-html#readme",
"bugs": {
"url": "https://github.com/ipfs/dir-index-html"
},
"gx": {
"dvcsimport": "github.com/ipfs/dir-index-html",
"goversion": "1.5.2"
},
"gxDependencies": [],
"gxVersion": "0.14.0",
"language": "go",
"license": "MIT",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"scripts": {
"build": "npm run build:clean && npm run build:stripstylelinks && npm run build:minify && npm run build:insert",
"build:clean": "rm -rf ./dist/*",
"build:stripstylelinks": "sed '/<link rel=\"stylesheet\"/d' src/dir-index.html > dist/base-html.html",
"build:minify": "(echo \"<style>\" && cat src/icons.css src/style.css | tr -d \" \t\n\r\" && echo \"</style>\") > dist/minified-style.html",
"build:insert": "sed '/<head>/ r dist/minified-style.html' dist/base-html.html > dist/dir-index.html"
}
}