Skip to content
Snippets Groups Projects
Select Git revision
  • d94f6dd7cc855c1e5bcdaf9eae9fe091185a3fb0
  • main default protected
2 results

package.json

Blame
  • This project manages its dependencies using npm. Learn more
    package.json 1.66 KiB
    {
      "name": "doks-test",
      "version": "0.0.0",
      "description": "Doks theme",
      "author": "Hyas",
      "license": "MIT",
      "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 --cleanDestinationDir --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"
      },
      "dependencies": {
        "@hyas/doks-core": "^1.1.1"
      },
      "engines": {
        "node": ">=16.12.0",
        "pnpm": ">=8.6.2"
      },
      "packageManager": "pnpm@8.6.2"
    }