portails/package.json

44 lines
1.8 KiB
JSON
Raw Normal View History

2020-04-15 15:48:16 +02:00
{
2023-05-26 17:44:05 +02:00
"name": "doks",
"version": "1.0.2",
2023-05-26 17:44:05 +02:00
"description": "Doks theme",
"author": "Hyas",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gethyas/doks.git"
},
2020-04-15 15:48:16 +02:00
"scripts": {
2023-05-26 17:44:05 +02:00
"dev": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache",
2023-06-17 15:53:53 +02:00
"dev:drafts": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache --buildDrafts",
2021-09-03 13:42:43 +02:00
"create": "exec-bin node_modules/.bin/hugo/hugo new",
2023-06-17 15:53:53 +02:00
"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",
2023-05-26 17:44:05 +02:00
"build": "exec-bin node_modules/.bin/hugo/hugo --minify",
2023-04-18 15:10:33 +02:00
"preview": "http-server --gzip --brotli --ext=html --cors",
2023-06-17 15:53:53 +02:00
"clean": "npm run clean:build && npm run clean:lint && npm run clean:install",
2023-04-18 15:10:33 +02:00
"clean:build": "shx rm -rf public resources .hugo_build.lock",
2023-06-17 15:53:53 +02:00
"clean:install": "shx rm -rf node_modules package-lock.json yarn.lock pnpm-lock.yaml",
"clean:lint": "shx rm -rf .eslintcache .stylelintcache",
2023-04-18 15:10:33 +02:00
"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"
2020-04-15 15:48:16 +02:00
},
"dependencies": {
"@hyas/doks-core": "^1.0.6"
2023-04-18 15:10:33 +02:00
},
"devDependencies": {
2023-06-17 15:53:53 +02:00
"auto-changelog": "^2.4.0"
2023-06-09 19:17:11 +02:00
},
2023-06-17 15:53:53 +02:00
"engines": {
"node": ">=16.12.0",
"pnpm": ">=8.6.2"
2023-06-17 15:53:53 +02:00
},
"packageManager": "pnpm@8.6.2"
2020-04-15 15:48:16 +02:00
}