-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 6.75 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 6.75 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@gethinode/hinode",
"version": "0.0.0-semantically-released",
"description": "Hinode is a production-ready Hugo theme built on Bootstrap 5. Open source, actively maintained, and built for developers.",
"keywords": [
"hugo",
"theme",
"bootstrap",
"responsive",
"front-end",
"blog",
"documentation"
],
"main": "index.js",
"browserslist": [
">= 0.5%",
"last 2 major versions",
"not dead",
"Chrome >= 60",
"Firefox >= 60",
"Firefox ESR",
"iOS >= 12",
"Safari >= 12",
"not Explorer <= 11",
"not kaios <= 2.5"
],
"private": false,
"packageManager": "pnpm@11.8.0+sha512.c1f5e7c4cb241c8f174b743851d82f42b802324afc8b0f116b96adb15aa06664948dde36960a3ba1079ba5b4b29dd0140135b94b5b5f5263592249d68e555f26",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prestart": "pnpm mod:vendor",
"start": "hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings",
"start:example": "pnpm prestart && hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings -s exampleSite",
"start:prod": "pnpm prestart && hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings --minify -e production",
"start:example:prod": "pnpm prestart && hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings --minify -e production -s exampleSite",
"prebuild": "pnpm clean:public && pnpm mod:vendor",
"build": "hugo --gc --minify",
"build:cache": "pnpm prebuild && hugo config | grep cachedir && hugo --gc --minify -e ci",
"build:example": "pnpm prebuild && hugo --gc --minify -s exampleSite",
"build:example:ci": "pnpm prebuild && hugo --gc --minify -s exampleSite -e ci",
"build:debug": "hugo -e debug --debug",
"build:headers": "pnpm build:headers:dev && pnpm build:headers:prod",
"build:headers:dev": "hugo --renderSegments headers -d prebuild-headers-dev -e development && cpy prebuild-headers-dev/server.toml config/_default/ --flat",
"build:headers:prod": "hugo -s exampleSite --renderSegments headers -d prebuild-headers-prod -e production && cpy exampleSite/prebuild-headers-prod/netlify.toml ./ --flat",
"build:example:headers": "hugo -s exampleSite --renderSegments headers -d prebuild && cpy exampleSite/prebuild/netlify.toml ./ --flat && cpy exampleSite/prebuild/server.toml exampleSite/config/_default/ --flat",
"build:preview": "pnpm build -D -F",
"clean:public": "rimraf public exampleSite/public",
"clean:install": "rimraf pnpm-lock.yaml node_modules",
"lint": "npm-run-all lint:**",
"lint:scripts": "eslint assets/js --no-error-on-unmatched-pattern",
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\" --allow-empty-input",
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\" \"exampleSite/**/*.md\"",
"mod:clean": "hugo mod clean",
"mod:update": "rimraf _vendor && hugo mod get -u ./... && pnpm mod:vendor && pnpm mod:tidy",
"mod:tidy": "hugo mod tidy && hugo mod tidy -s exampleSite",
"mod:vendor": "node scripts/mod-vendor.cjs",
"mod:vendor:force": "rimraf _vendor && hugo mod vendor",
"test": "npm-run-all lint test:templates",
"pretest:templates": "pnpm mod:vendor",
"test:templates": "hugo -s tests/templates --logLevel error",
"env": "hugo env",
"precheck": "npm version",
"prepare": "node .husky/install.mjs",
"postinstall": "node scripts/fix-postcss-bin.cjs",
"check": "hugo version",
"create:syntax": "npm-run-all update:syntax:**",
"update:syntax:light1": "hugo gen chromastyles --style=github > ./assets/scss/components/_syntax-light.scss",
"update:syntax:light2": "replace-in-files --string=\"#0086b3\" --replacement=\"#006b8f\" ./assets/scss/components/_syntax-light.scss",
"update:syntax:light3": "replace-in-files --string=\"#009999\" --replacement=\"#007a7a\" ./assets/scss/components/_syntax-light.scss",
"update:syntax:light4": "replace-in-files --string=\"#999988\" --replacement=\"#6d6d5d\" ./assets/scss/components/_syntax-light.scss",
"update:syntax:dark1": "hugo gen chromastyles --style=github-dark > ./assets/scss/components/_syntax-dark.scss",
"update:syntax:dark2": "replace-in-files --string=\"#ffffcc\" --replacement=\"#373700\" ./assets/scss/components/_syntax-dark.scss",
"update:syntax:dark3": "replace-in-files --string=\"#8b949e\" --replacement=\"#979fa8\" ./assets/scss/components/_syntax-dark.scss",
"update:syntax:dark4": "replace-in-files --string=\".na { }\" --replacement=\".na { color: #00cccc }\" ./assets/scss/components/_syntax-dark.scss",
"update:syntax:dark5": "replace-in-files --string=\".nb { }\" --replacement=\".nb { color: #00a2d8 }\" ./assets/scss/components/_syntax-dark.scss",
"update:syntax:dark6": "replace-in-files --string=\"#6e7681\" --replacement=\"#999fa8\" ./assets/scss/components/_syntax-dark.scss",
"upgrade": "pnpm dlx npm-check-updates -u && pnpm mod:update"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gethinode/hinode.git"
},
"author": "Mark Dumay",
"license": "MIT",
"bugs": {
"url": "https://github.com/gethinode/hinode/issues"
},
"homepage": "https://gethinode.com",
"dependencies": {
"@fullhuman/postcss-purgecss": "^8.0.0",
"autoprefixer": "^10.5.5",
"cssnano": "^9.0.4",
"hugo-extended": "^0.165.0",
"postcss-cli": "^12.0.0",
"rimraf": "^6.1.3"
},
"devDependencies": {
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@eslint/js": "^10.0.1",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^11.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
"cmd-shim": "^9.0.2",
"cpy-cli": "^7.0.0",
"eslint": "^10.10.0",
"globals": "^17.12.0",
"husky": "^9.1.7",
"markdownlint-cli2": "^0.23.2",
"netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5",
"replace-in-files-cli": "^4.0.0",
"semantic-release": "^25.0.9",
"shx": "^0.4.0",
"stylelint": "^17.15.0",
"stylelint-config-standard-scss": "^17.0.0"
},
"optionalDependencies": {
"fsevents": "*"
},
"release": {
"branches": [
"main",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/exec",
{
"prepare": "pnpm install --frozen-lockfile"
}
],
[
"@semantic-release/git",
{
"assets": [
"dist",
"package.json",
"pnpm-lock.yaml"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}