2020-01-12 14:33:02 +00:00
|
|
|
{
|
|
|
|
"name": "geekdoc",
|
|
|
|
"version": "1.0.0",
|
2020-06-28 12:47:14 +00:00
|
|
|
"description": "Hugo theme made for documentation",
|
2022-01-06 12:58:10 +00:00
|
|
|
"main": "index.js",
|
2024-08-27 12:23:49 +00:00
|
|
|
"type": "module",
|
2020-01-12 14:33:02 +00:00
|
|
|
"scripts": {
|
2022-01-06 12:58:10 +00:00
|
|
|
"build": "run-s prep:clean prep:make svg build:webpack",
|
|
|
|
"build:webpack": "webpack --mode=production",
|
|
|
|
"build:webpack-devel": "webpack --mode=development",
|
2022-08-29 20:53:07 +00:00
|
|
|
"pack": "tar -zcvf dist/hugo-geekdoc.tar.gz -X .tarignore .",
|
2022-01-06 12:58:10 +00:00
|
|
|
"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'",
|
2022-01-07 15:18:07 +00:00
|
|
|
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
2022-01-06 12:58:10 +00:00
|
|
|
"prep:clean": "shx rm -rf build/ static/",
|
2023-07-11 18:35:11 +00:00
|
|
|
"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",
|
2022-02-04 11:52:34 +00:00
|
|
|
"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/GeekdocIcons.json exampleSite/data/sprites/geekdoc.json",
|
2024-01-07 13:46:07 +00:00
|
|
|
"lint": "run-p lint:js lint:html",
|
|
|
|
"lint:js": "eslint src/js/ --color",
|
|
|
|
"lint:html": "html-validate exampleSite/public"
|
2020-01-12 14:33:02 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-09-27 20:21:29 +00:00
|
|
|
"url": "https://github.com/thegeeklab/hugo-geekdoc"
|
2020-01-12 14:33:02 +00:00
|
|
|
},
|
2020-06-28 12:47:14 +00:00
|
|
|
"author": "Robert Kaussow",
|
2020-01-12 14:33:02 +00:00
|
|
|
"license": "MIT",
|
2022-02-04 12:53:49 +00:00
|
|
|
"engines": {
|
2023-10-27 11:25:11 +00:00
|
|
|
"node": ">=18 <=20"
|
2022-02-04 12:53:49 +00:00
|
|
|
},
|
2021-05-05 20:52:57 +00:00
|
|
|
"dependencies": {
|
2024-08-22 08:35:49 +00:00
|
|
|
"@cfworker/json-schema": "2.0.1",
|
2022-05-06 14:46:13 +00:00
|
|
|
"clipboard": "2.0.11",
|
2024-01-12 07:30:40 +00:00
|
|
|
"flexsearch": "0.7.43",
|
2024-07-08 07:19:28 +00:00
|
|
|
"katex": "0.16.11",
|
2022-12-07 07:57:41 +00:00
|
|
|
"lodash": "4.17.21",
|
2024-10-03 17:14:12 +00:00
|
|
|
"mermaid": "11.3.0",
|
2024-02-18 10:19:14 +00:00
|
|
|
"store2": "2.14.3",
|
2024-10-29 07:14:25 +00:00
|
|
|
"uuid": "11.0.2"
|
2021-05-05 20:52:57 +00:00
|
|
|
},
|
2020-01-12 14:33:02 +00:00
|
|
|
"devDependencies": {
|
2024-10-28 01:12:45 +00:00
|
|
|
"@babel/eslint-parser": "7.25.9",
|
2024-08-05 07:12:14 +00:00
|
|
|
"autoprefixer": "10.4.20",
|
2024-01-22 02:23:47 +00:00
|
|
|
"copy-webpack-plugin": "12.0.2",
|
2024-05-27 00:16:43 +00:00
|
|
|
"css-loader": "7.1.2",
|
2024-10-21 00:22:06 +00:00
|
|
|
"eslint": "9.13.0",
|
2023-12-04 01:20:35 +00:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-07-29 01:31:34 +00:00
|
|
|
"eslint-plugin-prettier": "5.2.1",
|
2024-03-18 03:36:06 +00:00
|
|
|
"favicons": "7.2.0",
|
2024-01-15 19:55:41 +00:00
|
|
|
"favicons-webpack-plugin": "6.0.1",
|
2024-10-14 01:49:36 +00:00
|
|
|
"globals": "15.11.0",
|
2024-10-21 00:22:06 +00:00
|
|
|
"html-validate": "8.24.2",
|
2024-10-28 01:12:45 +00:00
|
|
|
"npm-run-all2": "7.0.1",
|
2024-03-04 07:33:44 +00:00
|
|
|
"postcss-loader": "8.1.1",
|
2024-07-15 02:04:38 +00:00
|
|
|
"prettier": "3.3.3",
|
2024-10-28 01:12:45 +00:00
|
|
|
"sass": "1.80.4",
|
2024-09-23 00:52:40 +00:00
|
|
|
"sass-loader": "16.0.2",
|
2022-01-10 03:33:04 +00:00
|
|
|
"shx": "0.3.4",
|
2024-04-01 00:45:31 +00:00
|
|
|
"svg-sprite": "2.0.4",
|
2024-09-01 12:28:17 +00:00
|
|
|
"svgtofont": "6.0.0",
|
2024-09-30 00:33:12 +00:00
|
|
|
"webpack": "5.95.0",
|
2023-06-12 01:33:34 +00:00
|
|
|
"webpack-cli": "5.1.4",
|
2022-03-08 21:26:35 +00:00
|
|
|
"webpack-manifest-plugin": "5.0.0",
|
2023-09-04 01:40:18 +00:00
|
|
|
"webpack-remove-empty-scripts": "1.0.4"
|
2020-01-12 14:33:02 +00:00
|
|
|
},
|
2022-01-10 14:02:12 +00:00
|
|
|
"overrides": {
|
|
|
|
"colors": "1.4.0"
|
|
|
|
},
|
2020-01-12 14:33:02 +00:00
|
|
|
"browserslist": [
|
|
|
|
"last 2 version",
|
|
|
|
"> 5%",
|
|
|
|
"not dead",
|
|
|
|
"Firefox ESR"
|
2022-01-06 12:58:10 +00:00
|
|
|
],
|
|
|
|
"svgtofont": {
|
|
|
|
"fontName": "GeekdocIcons",
|
|
|
|
"css": false,
|
|
|
|
"html": false,
|
|
|
|
"emptyDist": true,
|
|
|
|
"useNameAsUnicode": true,
|
|
|
|
"svgicons2svgfont": {
|
|
|
|
"fontHeight": 1001,
|
|
|
|
"normalize": true,
|
|
|
|
"centerHorizontally": true,
|
|
|
|
"centerVertically": true
|
|
|
|
}
|
|
|
|
}
|
2020-01-12 14:33:02 +00:00
|
|
|
}
|