Files
hextra/package.json
Xin 18d01a23fc chore(deps): remove unused serve package to fix security vulnerabilities
Removes the unused `serve` devDependency which was pulling in vulnerable
transitive dependencies (minimatch ReDoS high, ajv ReDoS moderate).
2026-02-20 20:40:28 +00:00

20 lines
838 B
JSON

{
"scripts": {
"dev:theme": "hugo server --logLevel=debug --config=hugo.yaml,../dev.toml --environment=theme --source=docs --themesDir=../.. -D -F --port 1313",
"dev": "hugo server --source=docs --themesDir=../.. --disableFastRender -D --port 1313",
"build:css": "npx postcss --config postcss.config.mjs --env production assets/css/styles.css -o assets/css/compiled/main.css",
"build": "hugo --gc --minify --themesDir=../.. --source=docs",
"test": "npx playwright test",
"test:a11y": "npx playwright test tests/accessibility.spec.ts"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@playwright/test": "^1.49.1",
"@tailwindcss/postcss": "^4.1.18",
"postcss-cli": "^11.0.1",
"prettier": "^3.8.0",
"prettier-plugin-go-template": "^0.0.15",
"tailwindcss": "^4.1.18"
}
}