aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontpage/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'code/frontpage/package.json')
-rw-r--r--code/frontpage/package.json74
1 files changed, 74 insertions, 0 deletions
diff --git a/code/frontpage/package.json b/code/frontpage/package.json
new file mode 100644
index 0000000..e5f638b
--- /dev/null
+++ b/code/frontpage/package.json
@@ -0,0 +1,74 @@
+{
+ "name": "@hyas/doks",
+ "description": "Doks theme",
+ "version": "0.5.0",
+ "engines": {
+ "node": ">=16.16.0"
+ },
+ "browserslist": [
+ "defaults"
+ ],
+ "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",
+ "start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
+ "prebuild": "npm run clean",
+ "build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify",
+ "build:preview": "npm run build -D -F",
+ "clean": "shx rm -rf public resources",
+ "clean:install": "shx rm -rf package-lock.json node_modules ",
+ "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\"",
+ "server": "exec-bin node_modules/.bin/hugo/hugo server",
+ "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"
+ },
+ "devDependencies": {
+ "@babel/cli": "^7.19.3",
+ "@babel/core": "^7.20.5",
+ "@babel/preset-env": "^7.20.2",
+ "@fullhuman/postcss-purgecss": "^5.0.0",
+ "@hyas/images": "^0.3.2",
+ "auto-changelog": "^2.4.0",
+ "autoprefixer": "^10.4.13",
+ "bootstrap": "^5.2.3",
+ "clipboard": "^2.0.11",
+ "eslint": "^8.29.0",
+ "exec-bin": "^1.0.0",
+ "flexsearch": "^0.7.31",
+ "highlight.js": "^11.7.0",
+ "hugo-installer": "^4.0.1",
+ "instant.page": "^5.1.1",
+ "katex": "^0.16.4",
+ "lazysizes": "^5.3.2",
+ "markdownlint-cli2": "^0.5.1",
+ "netlify-plugin-submit-sitemap": "^0.4.0",
+ "node-fetch": "^3.3.0",
+ "postcss": "^8.4.19",
+ "postcss-cli": "^10.1.0",
+ "purgecss-whitelister": "^2.4.0",
+ "shx": "^0.3.4",
+ "stylelint": "^14.16.0",
+ "stylelint-config-standard-scss": "^6.1.0"
+ },
+ "peerDependencies": {
+ "@popperjs/core": "^2.11.6"
+ },
+ "otherDependencies": {
+ "hugo": "0.107.0"
+ }
+}