mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-05 12:50:45 +00:00
79 lines
2.4 KiB
JSON
79 lines
2.4 KiB
JSON
{
|
|
"name": "geekblog",
|
|
"version": "1.0.0",
|
|
"description": "Hugo theme made for blogs",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "run-s prep svg build:webpack-prod",
|
|
"build:webpack-prod": "webpack --mode=production",
|
|
"build:webpack-devel": "webpack --mode=development",
|
|
"start": "run-s prep 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": "run-s prep:*",
|
|
"prep:clean": "del build/ static/",
|
|
"prep:make": "make-dir build/icons build/fonts",
|
|
"svg-sprite-list": "npm run svg:font ; make-dir exampleSite/data/sprites ; cpy build/fonts/GeekblogIcons.json exampleSite/data/sprites/ --rename geekblog.json",
|
|
"lint": "eslint src/js/ --color"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/thegeeklab/hugo-geekblog"
|
|
},
|
|
"author": "Robert Kaussow",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"clipboard": "2.0.8",
|
|
"mermaid": "8.13.8",
|
|
"store2": "2.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "7.16.5",
|
|
"autoprefixer": "10.4.1",
|
|
"copy-webpack-plugin": "10.2.0",
|
|
"cpy-cli": "3.1.1",
|
|
"css-loader": "6.5.1",
|
|
"del-cli": "4.0.1",
|
|
"eslint": "8.5.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"favicons-webpack-plugin": "5.0.2",
|
|
"make-dir-cli": "3.0.0",
|
|
"npm-run-all": "4.1.5",
|
|
"postcss-loader": "6.2.1",
|
|
"prettier": "2.5.1",
|
|
"prettier-plugin-go-template": "0.0.11",
|
|
"sass": "1.45.1",
|
|
"sass-loader": "12.4.0",
|
|
"svg-sprite": "1.5.3",
|
|
"svgtofont": "3.13.1",
|
|
"webpack": "5.65.0",
|
|
"webpack-assets-manifest": "5.0.6",
|
|
"webpack-cli": "4.9.1",
|
|
"webpack-remove-empty-scripts": "0.7.2"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|