53 lines
2.2 KiB
JSON
53 lines
2.2 KiB
JSON
{
|
|
"name": "doks",
|
|
"version": "1.0.0-rc.1",
|
|
"description": "Doks theme",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache",
|
|
"dev:gitpod": "exec-bin node_modules/.bin/hugo/hugo server --disableFastRender --baseUrl $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0",
|
|
"dev:drafts": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache --buildDrafts",
|
|
"create": "exec-bin node_modules/.bin/hugo/hugo new",
|
|
"lint": "npm run lint:markdown",
|
|
"lint:scripts": "eslint --cache themes/doks/assets/js",
|
|
"lint:styles": "stylelint --cache \"themes/doks/assets/scss/**/*.{css,sass,scss}\"",
|
|
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "exec-bin node_modules/.bin/hugo/hugo --minify",
|
|
"preview": "http-server --gzip --brotli --ext=html --cors",
|
|
"clean": "npm run clean:build && npm run clean:lint && npm run clean:install",
|
|
"clean:build": "shx rm -rf public resources .hugo_build.lock",
|
|
"clean:install": "shx rm -rf node_modules package-lock.json yarn.lock pnpm-lock.yaml",
|
|
"clean:lint": "shx rm -rf .eslintcache .stylelintcache",
|
|
"preinfo": "npm version",
|
|
"info": "npm list",
|
|
"postinfo": "exec-bin node_modules/.bin/hugo/hugo version",
|
|
"postinstall": "shx rm -rf node_modules/.bin/hugo && shx mkdir node_modules/.bin/hugo && shx cp node_modules/gethyas/node_modules/.bin/hugo/* node_modules/.bin/hugo",
|
|
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hyas/doks.git"
|
|
},
|
|
"keywords": [
|
|
"doks",
|
|
"hyas",
|
|
"hugo"
|
|
],
|
|
"author": "Henk Verlinde",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/gethyas/doks/issues"
|
|
},
|
|
"homepage": "https://github.com/gethyas/doks#readme",
|
|
"devDependencies": {
|
|
"@hyas/doks-core": "^1.0.1",
|
|
"auto-changelog": "^2.4.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.12.0",
|
|
"pnpm": ">=8.2.0"
|
|
},
|
|
"packageManager": "pnpm@8.6.0"
|
|
}
|