{
  "name": "Pi-hole web interface",
  "version": "1.0.0",
  "private": true,
  "description": "",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pi-hole/web.git"
  },
  "keywords": [],
  "author": "",
  "license": "EUPL-1.2",
  "bugs": {
    "url": "https://github.com/pi-hole/web/issues"
  },
  "homepage": "https://github.com/pi-hole/web#readme",
  "scripts": {
    "prefix": "postcss \"style/*.css\" \"style/themes/*.css\" --use autoprefixer --no-map --replace",
    "prettier:check": "prettier -l \"style/*.css\" \"style/themes/*.css\" \"scripts/**/*.js\"",
    "prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/**/*.js\"",
    "xo": "xo",
    "xo:check": "npm run xo",
    "xo:fix": "npm run xo -- --fix",
    "test": "npm run prettier:check && npm run xo:check",
    "testpr": "npm run prefix && npm run prettier:fix && git diff --ws-error-highlight=all --color=always --exit-code && npm run xo:check"
  },
  "dependencies": {
    "admin-lte": "2.4.18",
    "animate.css": "4.1.1",
    "bootstrap": "3.4.1",
    "bootstrap-notify": "3.1.3",
    "bootstrap-select": "1.13.18",
    "bootstrap-toggle": "2.2.2",
    "bstreeview": "1.2.0",
    "chart.js": "4.4.8",
    "chartjs-adapter-moment": "1.0.1",
    "chartjs-plugin-deferred": "2.0.0",
    "chartjs-plugin-zoom": "2.2.0",
    "datatables.net-bs": "1.10.21",
    "datatables.net-buttons-bs": "1.7.1",
    "datatables.net-select-bs": "1.3.1",
    "daterangepicker": "3.1.0",
    "@fortawesome/fontawesome-free": "6.7.2",
    "hammerjs": "2.0.8",
    "icheck-bootstrap": "3.0.1",
    "icheck-material": "1.0.1",
    "jquery": "3.7.1",
    "modernized-waitme": "1.0.0",
    "moment": "2.30.1",
    "myclabs.jquery.confirm": "2.7.0",
    "nprogress": "0.2.0",
    "qrious": "4.0.2",
    "select2": "4.0.13"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.21",
    "eslint-plugin-compat": "^6.0.2",
    "postcss": "^8.5.3",
    "postcss-cli": "^11.0.1",
    "prettier": "^3.5.3",
    "xo": "^0.60.0"
  },
  "browserslist": [
    ">= 0.5%",
    "last 2 major versions",
    "not dead",
    "not op_mini all",
    "Firefox ESR"
  ],
  "prettier": {
    "arrowParens": "avoid",
    "bracketSpacing": true,
    "endOfLine": "auto",
    "printWidth": 100,
    "singleQuote": false,
    "trailingComma": "es5"
  },
  "xo": {
    "envs": [
      "browser",
      "jquery"
    ],
    "extends": [
      "plugin:compat/recommended"
    ],
    "parserOptions": {
      "ecmaVersion": "latest",
      "sourceType": "script"
    },
    "prettier": true,
    "space": 2,
    "ignores": [
      "**/vendor/**"
    ],
    "rules": {
      "camelcase": [
        "error",
        {
          "properties": "never"
        }
      ],
      "capitalized-comments": "off",
      "new-cap": [
        "error",
        {
          "properties": false
        }
      ],
      "no-alert": "off",
      "no-console": "error",
      "no-else-return": "off",
      "no-negated-condition": "off",
      "no-var": "off",
      "object-shorthand": "off",
      "one-var": "off",
      "prefer-arrow-callback": "off",
      "spaced-comment": "off",
      "unicorn/explicit-length-check": [
        "error",
        {
          "non-zero": "greater-than"
        }
      ],
      "unicorn/filename-case": "off",
      "unicorn/no-anonymous-default-export": "off",
      "unicorn/no-array-for-each": "off",
      "unicorn/no-for-loop": "off",
      "unicorn/no-document-cookie": "off",
      "unicorn/numeric-separators-style": "off",
      "unicorn/prefer-includes": "off",
      "unicorn/prefer-module": "off",
      "unicorn/prefer-node-append": "off",
      "unicorn/prefer-number-properties": "off",
      "unicorn/prefer-query-selector": "off",
      "unicorn/prefer-string-slice": "off",
      "unicorn/prevent-abbreviations": "off",
      "unicorn/prefer-logical-operator-over-ternary": "off",
      "unicorn/switch-case-braces": "off",
      "unicorn/no-negated-condition": "off",
      "logical-assignment-operators": "off",
      "prefer-object-has-own": "off"
    }
  }
}
