portails/package.json

44 lines
1.8 KiB
JSON

{
"name": "doks",
"version": "1.0.0-rc.2",
"description": "Doks theme",
"author": "Hyas",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gethyas/doks.git"
},
"scripts": {
"dev": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache",
"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"
},
"dependencies": {
"@hyas/doks-core": "^1.0.3"
},
"devDependencies": {
"auto-changelog": "^2.4.0"
},
"engines": {
"node": ">=16.12.0",
"pnpm": ">=8.6.2"
},
"packageManager": "pnpm@8.6.2"
}