hugo-geekblog/package.json

92 lines
2.9 KiB
JSON
Raw Normal View History

2020-07-06 18:55:32 +00:00
{
"name": "geekblog",
"version": "1.0.0",
"description": "Hugo theme made for blogs",
"main": "index.js",
"type": "module",
2020-07-06 18:55:32 +00:00
"scripts": {
"build": "run-s prep:clean prep:make svg build:webpack",
"build:webpack": "webpack --mode=production",
"build:webpack-devel": "webpack --mode=development",
2022-08-31 09:15:25 +00:00
"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"
2020-07-06 18:55:32 +00:00
},
"repository": {
"type": "git",
2020-09-27 20:14:36 +00:00
"url": "https://github.com/thegeeklab/hugo-geekblog"
2020-07-06 18:55:32 +00:00
},
"author": "Robert Kaussow",
"license": "MIT",
"engines": {
"node": ">=18 <=22"
},
"dependencies": {
"clipboard": "2.0.11",
"katex": "0.16.11",
"mermaid": "11.4.1",
"store2": "2.14.3"
},
2020-07-06 18:55:32 +00:00
"devDependencies": {
2024-10-28 02:14:37 +00:00
"@babel/eslint-parser": "7.25.9",
2022-09-12 07:32:02 +00:00
"@eloquent/git-version-webpack-plugin": "5.0.1",
"autoprefixer": "10.4.20",
2024-01-22 02:04:35 +00:00
"copy-webpack-plugin": "12.0.2",
2024-05-27 01:11:42 +00:00
"css-loader": "7.1.2",
"eslint": "9.15.0",
2023-12-04 02:42:58 +00:00
"eslint-config-prettier": "9.1.0",
2024-07-22 02:00:21 +00:00
"eslint-plugin-prettier": "5.2.1",
2024-03-18 04:09:34 +00:00
"favicons": "7.2.0",
"favicons-webpack-plugin": "6.0.1",
"globals": "15.12.0",
"html-validate": "8.25.1",
2024-10-28 02:14:37 +00:00
"npm-run-all2": "7.0.1",
2024-03-04 03:25:17 +00:00
"postcss-loader": "8.1.1",
2024-07-15 01:43:31 +00:00
"prettier": "3.3.3",
"sass": "1.81.0",
2024-11-04 01:39:53 +00:00
"sass-loader": "16.0.3",
"shx": "0.3.4",
2024-04-01 01:08:17 +00:00
"svg-sprite": "2.0.4",
"svgtofont": "6.1.1",
"uuid": "11.0.3",
2024-11-04 01:39:53 +00:00
"webpack": "5.96.1",
2023-06-12 01:58:57 +00:00
"webpack-cli": "5.1.4",
"webpack-manifest-plugin": "5.0.0",
2023-09-04 02:06:31 +00:00
"webpack-remove-empty-scripts": "1.0.4"
2020-07-06 18:55:32 +00:00
},
"overrides": {
"colors": "1.4.0"
},
2020-07-06 18:55:32 +00:00
"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
}
}
2020-07-06 18:55:32 +00:00
}