mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-05 12:50:45 +00:00
87 lines
2.7 KiB
JSON
87 lines
2.7 KiB
JSON
{
|
|
"name": "geekblog",
|
|
"version": "1.0.0",
|
|
"description": "Hugo theme made for blogs",
|
|
"main": "index.js",
|
|
"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 build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/",
|
|
"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": "eslint src/js/ --color"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/thegeeklab/hugo-geekblog"
|
|
},
|
|
"author": "Robert Kaussow",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=16.15 <=18"
|
|
},
|
|
"dependencies": {
|
|
"clipboard": "2.0.11",
|
|
"katex": "0.16.3",
|
|
"mermaid": "9.2.2",
|
|
"store2": "2.14.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "7.19.1",
|
|
"@eloquent/git-version-webpack-plugin": "5.0.1",
|
|
"autoprefixer": "10.4.13",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"css-loader": "6.7.1",
|
|
"eslint": "8.27.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"favicons": "7.0.2",
|
|
"npm-run-all": "4.1.5",
|
|
"postcss-loader": "7.0.1",
|
|
"prettier": "2.7.1",
|
|
"prettier-plugin-go-template": "0.0.13",
|
|
"sass": "1.56.0",
|
|
"sass-loader": "13.1.0",
|
|
"shx": "0.3.4",
|
|
"svg-sprite": "2.0.1",
|
|
"svgtofont": "3.19.0",
|
|
"webpack": "5.74.0",
|
|
"webpack-cli": "4.10.0",
|
|
"webpack-favicons": "1.3.8",
|
|
"webpack-manifest-plugin": "5.0.0",
|
|
"webpack-remove-empty-scripts": "1.0.1"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|