hugo-geekblog/package.json

77 lines
2.4 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",
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",
"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": "mkdir -p build/icons/ build/fonts/ dist/",
"svg-sprite-list": "run-s prep:make svg ; mkdir -p exampleSite/data/sprites/ ; cp build/fonts/GeekblogIcons.json exampleSite/data/sprites/geekblog.json",
"lint": "eslint src/js/ --color"
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",
"dependencies": {
"clipboard": "2.0.8",
"mermaid": "8.13.8",
"store2": "2.13.1"
},
2020-07-06 18:55:32 +00:00
"devDependencies": {
"@babel/eslint-parser": "7.16.5",
"autoprefixer": "10.4.2",
"copy-webpack-plugin": "10.2.0",
"css-loader": "6.5.1",
"eslint": "8.6.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"favicons-webpack-plugin": "5.0.2",
"npm-run-all": "4.1.5",
"postcss-loader": "6.2.1",
"prettier": "2.5.1",
"prettier-plugin-go-template": "0.0.11",
"sass": "1.47.0",
"sass-loader": "12.4.0",
"shx": "0.3.3",
"svg-sprite": "1.5.3",
"svgtofont": "3.13.1",
"webpack": "5.65.0",
"webpack-cli": "4.9.1",
"webpack-manifest-plugin": "4.0.2",
"webpack-remove-empty-scripts": "0.7.2"
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
}