| 1234567891011121314151617181920212223242526272829303132333435363738 |
- {
- "name": "docsy-user-guide",
- "scripts": {
- "_build": "npm run _hugo-dev --",
- "_check:format": "npx prettier --prose-wrap=always --check .",
- "_check:links--warn": "npm run _check:links || (echo; echo 'WARNING: see link-checker output for issues.'; echo)",
- "_check:links": "make --keep-going check-links",
- "_commit:public": "HASH=$(git rev-parse --short main); cd public && git add -A && git commit -m \"Site at $HASH\"",
- "_hugo-dev": "npm run _hugo -- -e dev -DFE",
- "_hugo": "hugo --cleanDestinationDir --themesDir ../..",
- "_refcache:prune": "jq 'with_entries(select(.value.StatusCode < 400))' static/refcache.json > tmp/refcache.json && mv tmp/refcache.json static/refcache.json",
- "_serve": "npm run _hugo-dev -- serve --minify --disableFastRender --renderToMemory",
- "build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"",
- "build:production": "npm run _hugo -- --minify",
- "build": "npm run _build --",
- "check:format": "npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
- "check:links:internal": "HTMLTEST_ARGS='--skip-external' npm run _check:links",
- "check:links": "npm run _check:links",
- "clean": "rm -Rf public",
- "fix:format": "npm run _check:format -- --write",
- "make:public": "git init -b main public",
- "postbuild:preview": "npm run _check:links--warn",
- "postbuild:production": "npm run _check:links--warn",
- "precheck:links:all": "npm run build",
- "precheck:links": "npm run build",
- "prepare": "cd .. && npm install",
- "serve": "npm run _serve",
- "test": "npm run check:format && npm run check:links",
- "update:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest",
- "update:pkgs": "npx npm-check-updates -u"
- },
- "devDependencies": {
- "autoprefixer": "^10.4.21",
- "postcss-cli": "^11.0.1",
- "rtlcss": "^4.3.0"
- },
- "cSpell:ignore": "- docsy htmltest pkgs postbuild precheck refcache rtlcss -"
- }
|