-
Notifications
You must be signed in to change notification settings - Fork 313
/
package.json
93 lines (93 loc) · 2.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "geekdoc",
"version": "1.0.0",
"description": "Hugo theme made for documentation",
"main": "index.js",
"type": "module",
"scripts": {
"build": "run-s prep:clean prep:make svg build:webpack",
"build:webpack": "webpack --mode=production",
"build:webpack-devel": "webpack --mode=development",
"pack": "tar -zcvf dist/hugo-geekdoc.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/GeekdocIcons.json exampleSite/data/sprites/geekdoc.json",
"lint": "run-p lint:js lint:html",
"lint:js": "eslint src/js/ --color",
"lint:html": "html-validate exampleSite/public"
},
"repository": {
"type": "git",
"url": "https://github.com/thegeeklab/hugo-geekdoc"
},
"author": "Robert Kaussow",
"license": "MIT",
"engines": {
"node": ">=18 <=22"
},
"dependencies": {
"@cfworker/json-schema": "4.0.3",
"clipboard": "2.0.11",
"flexsearch": "0.7.43",
"katex": "0.16.15",
"lodash": "4.17.21",
"mermaid": "11.4.1",
"store2": "2.14.3",
"uuid": "11.0.3"
},
"devDependencies": {
"@babel/eslint-parser": "7.25.9",
"autoprefixer": "10.4.20",
"copy-webpack-plugin": "12.0.2",
"css-loader": "7.1.2",
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"favicons": "7.2.0",
"favicons-webpack-plugin": "6.0.1",
"globals": "15.13.0",
"html-validate": "8.27.0",
"npm-run-all2": "7.0.1",
"postcss-loader": "8.1.1",
"prettier": "3.4.2",
"sass": "1.82.0",
"sass-loader": "16.0.4",
"shx": "0.3.4",
"svg-sprite": "2.0.4",
"svgtofont": "6.2.0",
"webpack": "5.97.1",
"webpack-cli": "5.1.4",
"webpack-manifest-plugin": "5.0.0",
"webpack-remove-empty-scripts": "1.0.4"
},
"overrides": {
"colors": "1.4.0"
},
"browserslist": [
"last 2 version",
"> 5%",
"not dead",
"Firefox ESR"
],
"svgtofont": {
"fontName": "GeekdocIcons",
"css": false,
"html": false,
"emptyDist": true,
"useNameAsUnicode": true,
"svgicons2svgfont": {
"fontHeight": 1001,
"normalize": true,
"centerHorizontally": true,
"centerVertically": true
}
}
}