-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.59 KB
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
{
"name": "doks",
"description": "Doks theme",
"version": "0.0.0",
"browserslist": [
"defaults"
],
"author": "Hyas",
"repository": "https://github.com/h-enk/doks",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"scripts": {
"init": "shx rm -rf .git && git init -b main",
"create": "exec-bin node_modules/.bin/hugo/hugo new",
"prestart": "npm run clean && npm run clean:pagefind",
"start": "npm run build:dev && npm run server",
"prebuild": "npm run clean && npm run clean:pagefind",
"build:dev": "npm run build:hugo && npm run index:pagefind",
"build": "npm run clean && npm run build:hugo:production && npm run index:pagefind",
"build:preview": "npm run build -D -F",
"build:hugo": "exec-bin node_modules/.bin/hugo/hugo",
"build:hugo:production": "exec-bin node_modules/.bin/hugo/hugo --minify --gc",
"copy:pagefind-generated": "shx cp -r public/pagefind static/pagefind",
"clean": "shx rm -rf public resources",
"clean:install": "shx rm -rf package-lock.json node_modules ",
"clean:pagefind": "shx rm -rf static/pagefind",
"index:pagefind": "npx pagefind --site ./public && npm run copy:pagefind-generated",
"server": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
"lint:scripts": "eslint assets/js config functions",
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
"lint:markdown-fix": "markdownlint-cli2-fix \"*.md\" \"content/**/*.md\"",
"test": "npm run -s lint",
"env": "env",
"precheck": "npm version",
"check": "exec-bin node_modules/.bin/hugo/hugo version",
"copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/",
"postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo",
"version": "auto-changelog -p && git add CHANGELOG.md",
"dev": "hugo server --disableFastRender --noHTTPCache",
"format": "prettier **/** -w -c",
"preview": "vite preview --outDir public"
},
"engines": {
"node": ">=20.11.0"
},
"devDependencies": {
"@babel/cli": "^7.17",
"@babel/core": "^7.17",
"@babel/preset-env": "^7.16",
"@fullhuman/postcss-purgecss": "^4.1",
"auto-changelog": "^2.4",
"autoprefixer": "^10.4",
"bootstrap": "^5.1",
"clipboard": "^2.0",
"eslint": "^8.8",
"exec-bin": "^1.0.0",
"flexsearch": "^0.7.21",
"highlight.js": "^11.4",
"hugo-installer": "^3.1",
"instant.page": "^5.1",
"katex": "^0.15",
"lazysizes": "^5.3",
"markdownlint-cli2": "^0.4.0",
"mermaid": "^8.2.2",
"node-fetch": "^3.2",
"postcss": "^8.4",
"postcss-cli": "^9.1",
"prettier": "^3.3.2",
"purgecss-whitelister": "^2.4",
"shx": "^0.3.4",
"stylelint": "^14.3",
"stylelint-config-standard-scss": "^3.0",
"vite": "^5.3.3"
},
"otherDependencies": {
"hugo": "0.92.2"
},
"dependencies": {
"@hyas/doks-core": "^1.6.1",
"@hyas/images": "^3.2.0",
"@hyas/inline-svg": "^1.1.0",
"@hyas/seo": "^2.3.0",
"@tabler/icons": "^3.9.0",
"gethyas": "^2.4.2",
"pagefind": "^1.1.1"
}
}