forked from thegeeklab/hugo-geekdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.63 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
{
"name": "geekdoc",
"version": "1.0.0",
"description": "Hugo theme made for documentation",
"main": "index.js",
"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": "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": "eslint src/js/ --color"
},
"repository": {
"type": "git",
"url": "https://github.com/thegeeklab/hugo-geekdoc"
},
"author": "Robert Kaussow",
"license": "MIT",
"engines": {
"node": ">=15 <17"
},
"dependencies": {
"@cfworker/json-schema": "1.12.2",
"clipboard": "2.0.10",
"flexsearch": "0.7.21",
"katex": "0.15.2",
"mermaid": "8.14.0",
"store2": "2.13.1"
},
"devDependencies": {
"@babel/eslint-parser": "7.17.0",
"autoprefixer": "10.4.2",
"copy-webpack-plugin": "10.2.4",
"css-loader": "6.6.0",
"eslint": "8.10.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-prettier": "4.0.0",
"favicons": "6.2.2",
"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.49.9",
"sass-loader": "12.6.0",
"shx": "0.3.4",
"svg-sprite": "1.5.4",
"svgtofont": "3.17.4",
"webpack": "5.69.1",
"webpack-cli": "4.9.2",
"webpack-manifest-plugin": "4.1.1",
"webpack-remove-empty-scripts": "0.7.3"
},
"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
}
}
}