mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-27 15:30:35 +00:00
7ecb9a2c07
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
92 lines
2.9 KiB
JSON
92 lines
2.9 KiB
JSON
{
|
|
"name": "geekblog",
|
|
"version": "1.0.0",
|
|
"description": "Hugo theme made for blogs",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "run-s prep:clean prep:make svg build:webpack",
|
|
"build:webpack": "webpack --mode=production",
|
|
"build:webpack-devel": "webpack --mode=development",
|
|
"pack": "tar -zcvf dist/hugo-geekblog.tar.gz -X .tarignore .",
|
|
"start": "run-s prep:clean prep:make svg build:webpack-devel ; run-p start:webpack start:hugo",
|
|
"start:webpack": "webpack --mode=development --watch",
|
|
"start:build": "webpack --mode=development",
|
|
"start:hugo": "hugo server -D -F -s exampleSite/",
|
|
"svg": "run-s svg:*",
|
|
"svg:sprite": "svg-sprite -C svgsprite.config.json 'src/icons/*.svg'",
|
|
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
|
"prep:clean": "shx rm -rf build/ static/",
|
|
"prep:clean-all": "shx rm -rf VERSION .lighthouseci/ lhci_reports/ build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/ exampleSite/public/ exampleSite/resources/ exampleSite/.hugo_build.lock",
|
|
"prep:make": "shx mkdir -p build/icons/ build/fonts/ dist/",
|
|
"svg-sprite-list": "run-s prep:make svg ; shx mkdir -p exampleSite/data/sprites/ ; shx cp build/fonts/GeekblogIcons.json exampleSite/data/sprites/geekblog.json",
|
|
"lint": "run-p lint:js lint:html",
|
|
"lint:js": "eslint src/js/ --color",
|
|
"lint:html": "html-validate exampleSite/public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/thegeeklab/hugo-geekblog"
|
|
},
|
|
"author": "Robert Kaussow",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=18 <=20"
|
|
},
|
|
"dependencies": {
|
|
"clipboard": "2.0.11",
|
|
"katex": "0.16.11",
|
|
"mermaid": "11.3.0",
|
|
"store2": "2.14.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "7.25.1",
|
|
"@eloquent/git-version-webpack-plugin": "5.0.1",
|
|
"autoprefixer": "10.4.20",
|
|
"copy-webpack-plugin": "12.0.2",
|
|
"css-loader": "7.1.2",
|
|
"eslint": "9.11.1",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-prettier": "5.2.1",
|
|
"favicons": "7.2.0",
|
|
"favicons-webpack-plugin": "6.0.1",
|
|
"globals": "15.9.0",
|
|
"html-validate": "8.24.0",
|
|
"npm-run-all2": "6.2.3",
|
|
"postcss-loader": "8.1.1",
|
|
"prettier": "3.3.3",
|
|
"sass": "1.79.4",
|
|
"sass-loader": "16.0.2",
|
|
"shx": "0.3.4",
|
|
"svg-sprite": "2.0.4",
|
|
"svgtofont": "6.0.0",
|
|
"uuid": "10.0.0",
|
|
"webpack": "5.95.0",
|
|
"webpack-cli": "5.1.4",
|
|
"webpack-manifest-plugin": "5.0.0",
|
|
"webpack-remove-empty-scripts": "1.0.4"
|
|
},
|
|
"overrides": {
|
|
"colors": "1.4.0"
|
|
},
|
|
"browserslist": [
|
|
"last 2 version",
|
|
"> 5%",
|
|
"not dead",
|
|
"Firefox ESR"
|
|
],
|
|
"svgtofont": {
|
|
"fontName": "GeekblogIcons",
|
|
"css": false,
|
|
"html": false,
|
|
"emptyDist": true,
|
|
"useNameAsUnicode": true,
|
|
"svgicons2svgfont": {
|
|
"fontHeight": 1001,
|
|
"normalize": true,
|
|
"centerHorizontally": true,
|
|
"centerVertically": true
|
|
}
|
|
}
|
|
}
|