2020-01-12 15:33:02 +01:00
|
|
|
{
|
|
|
|
"name": "geekdoc",
|
|
|
|
"version": "1.0.0",
|
2020-06-28 14:47:14 +02:00
|
|
|
"description": "Hugo theme made for documentation",
|
2022-01-06 13:58:10 +01:00
|
|
|
"main": "index.js",
|
2020-01-12 15:33:02 +01:00
|
|
|
"scripts": {
|
2022-01-06 13:58:10 +01: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 22:53:07 +02:00
|
|
|
"pack": "tar -zcvf dist/hugo-geekdoc.tar.gz -X .tarignore .",
|
2022-01-06 13:58:10 +01: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 16:18:07 +01:00
|
|
|
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
2022-01-06 13:58:10 +01:00
|
|
|
"prep:clean": "shx rm -rf build/ static/",
|
2022-01-07 16:18:07 +01:00
|
|
|
"prep:clean-all": "shx rm -rf build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/",
|
2022-02-04 12:52:34 +01: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",
|
2022-01-06 13:58:10 +01:00
|
|
|
"lint": "eslint src/js/ --color"
|
2020-01-12 15:33:02 +01:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-09-27 22:21:29 +02:00
|
|
|
"url": "https://github.com/thegeeklab/hugo-geekdoc"
|
2020-01-12 15:33:02 +01:00
|
|
|
},
|
2020-06-28 14:47:14 +02:00
|
|
|
"author": "Robert Kaussow",
|
2020-01-12 15:33:02 +01:00
|
|
|
"license": "MIT",
|
2022-02-04 13:53:49 +01:00
|
|
|
"engines": {
|
2022-08-07 22:27:43 +02:00
|
|
|
"node": ">=16.15 <=18"
|
2022-02-04 13:53:49 +01:00
|
|
|
},
|
2021-05-05 22:52:57 +02:00
|
|
|
"dependencies": {
|
2022-10-04 09:11:48 +02:00
|
|
|
"@cfworker/json-schema": "1.12.5",
|
2022-05-06 16:46:13 +02:00
|
|
|
"clipboard": "2.0.11",
|
2022-10-04 09:11:39 +02:00
|
|
|
"flexsearch": "0.7.31",
|
2022-08-30 09:08:48 +02:00
|
|
|
"katex": "0.16.2",
|
2022-09-15 09:45:23 +02:00
|
|
|
"mermaid": "9.1.7",
|
2022-08-01 21:20:53 +02:00
|
|
|
"store2": "2.14.2"
|
2021-05-05 22:52:57 +02:00
|
|
|
},
|
2020-01-12 15:33:02 +01:00
|
|
|
"devDependencies": {
|
2022-09-26 06:06:18 +02:00
|
|
|
"@babel/eslint-parser": "7.19.1",
|
2022-09-05 03:49:41 +02:00
|
|
|
"@eloquent/git-version-webpack-plugin": "5.0.1",
|
2022-09-26 06:06:18 +02:00
|
|
|
"autoprefixer": "10.4.12",
|
2022-05-18 15:04:23 +02:00
|
|
|
"copy-webpack-plugin": "11.0.0",
|
2022-03-14 01:57:26 +01:00
|
|
|
"css-loader": "6.7.1",
|
2022-10-10 02:07:18 +02:00
|
|
|
"eslint": "8.25.0",
|
2022-03-07 01:49:43 +01:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2022-07-04 02:01:41 +02:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-10-03 03:02:16 +02:00
|
|
|
"favicons": "7.0.1",
|
2022-01-06 13:58:10 +01:00
|
|
|
"npm-run-all": "4.1.5",
|
2022-07-18 02:25:20 +02:00
|
|
|
"postcss-loader": "7.0.1",
|
2022-06-27 04:23:34 +02:00
|
|
|
"prettier": "2.7.1",
|
2022-05-23 04:48:59 +02:00
|
|
|
"prettier-plugin-go-template": "0.0.13",
|
2022-09-26 06:06:18 +02:00
|
|
|
"sass": "1.55.0",
|
2022-10-10 02:07:18 +02:00
|
|
|
"sass-loader": "13.1.0",
|
2022-01-10 04:33:04 +01:00
|
|
|
"shx": "0.3.4",
|
2022-09-28 08:34:58 +02:00
|
|
|
"svg-sprite": "2.0.0",
|
2022-09-26 06:06:18 +02:00
|
|
|
"svgtofont": "3.18.0",
|
2022-08-01 02:19:32 +02:00
|
|
|
"webpack": "5.74.0",
|
2022-06-27 04:23:34 +02:00
|
|
|
"webpack-cli": "4.10.0",
|
2022-09-12 22:05:24 +02:00
|
|
|
"webpack-favicons": "1.3.8",
|
2022-03-08 22:26:35 +01:00
|
|
|
"webpack-manifest-plugin": "5.0.0",
|
2022-09-26 06:06:18 +02:00
|
|
|
"webpack-remove-empty-scripts": "1.0.1"
|
2020-01-12 15:33:02 +01:00
|
|
|
},
|
2022-01-10 15:02:12 +01:00
|
|
|
"overrides": {
|
|
|
|
"colors": "1.4.0"
|
|
|
|
},
|
2020-01-12 15:33:02 +01:00
|
|
|
"browserslist": [
|
|
|
|
"last 2 version",
|
|
|
|
"> 5%",
|
|
|
|
"not dead",
|
|
|
|
"Firefox ESR"
|
2022-01-06 13:58:10 +01:00
|
|
|
],
|
|
|
|
"svgtofont": {
|
|
|
|
"fontName": "GeekdocIcons",
|
|
|
|
"css": false,
|
|
|
|
"html": false,
|
|
|
|
"emptyDist": true,
|
|
|
|
"useNameAsUnicode": true,
|
|
|
|
"svgicons2svgfont": {
|
|
|
|
"fontHeight": 1001,
|
|
|
|
"normalize": true,
|
|
|
|
"centerHorizontally": true,
|
|
|
|
"centerVertically": true
|
|
|
|
}
|
|
|
|
}
|
2020-01-12 15:33:02 +01:00
|
|
|
}
|