{
  "name": "sitemap",
  "version": "6.2.0",
  "description": "Sitemap-generating lib/cli",
  "keywords": [
    "sitemap",
    "sitemap.xml"
  ],
  "homepage": "https://github.com/ekalinin/sitemap.js#readme",
  "bugs": {
    "url": "https://github.com/ekalinin/sitemap.js/issues"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/ekalinin/sitemap.js.git"
  },
  "license": "MIT",
  "author": "Eugene Kalinin <e.v.kalinin@gmail.com>",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": "./dist/cli.js",
  "directories": {
    "lib": "lib",
    "test": "tests"
  },
  "scripts": {
    "build": "tsc",
    "prepublishOnly": "rm -rf dist && npm run test",
    "test": "eslint lib/* ./cli.ts && tsc && jest ./tests/sitemap*",
    "test:full": "eslint lib/* ./cli.ts && tsc && jest && npm run test:xmllint",
    "test:perf": "node ./tests/perf.js",
    "test:schema": "node tests/alltags.js | xmllint --schema schema/all.xsd --noout -",
    "test:typecheck": "tsc",
    "test:xmllint": "if which xmllint; then npm run test:schema; else echo 'skipping xml tests. xmllint not installed'; fi",
    "watch": "concurrently \"npm:watch:*\"",
    "watch:eslint": "eslint -w lib/* ./cli.ts",
    "watch:jest": "jest --watch ./tests/sitemap*",
    "watch:tsc": "tsc -w"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && npm run test"
    }
  },
  "lint-staged": {
    "package.json": [
      "sort-package-json"
    ],
    "{lib,tests}/**/*.ts": [
      "eslint --fix",
      "prettier --write"
    ]
  },
  "eslintConfig": {
    "env": {
      "es6": true,
      "jest": true,
      "node": true
    },
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "ecmaVersion": 2018,
      "sourceType": "module"
    },
    "plugins": [
      "jest",
      "@typescript-eslint"
    ],
    "extends": [
      "eslint:recommended",
      "plugin:@typescript-eslint/eslint-recommended",
      "plugin:@typescript-eslint/recommended",
      "prettier/@typescript-eslint",
      "plugin:prettier/recommended"
    ],
    "rules": {
      "indent": "off",
      "lines-between-class-members": [
        "error",
        "always",
        {
          "exceptAfterSingleLine": true
        }
      ],
      "no-case-declarations": 0,
      "no-console": 0,
      "no-dupe-class-members": "off",
      "no-unused-vars": 0,
      "padding-line-between-statements": [
        "error",
        {
          "blankLine": "always",
          "prev": "multiline-expression",
          "next": "multiline-expression"
        }
      ],
      "@typescript-eslint/explicit-member-accessibility": "off",
      "@typescript-eslint/naming-convention": [
        "error",
        {
          "selector": "default",
          "format": null
        },
        {
          "selector": "interface",
          "prefix": [],
          "format": null
        }
      ],
      "@typescript-eslint/no-parameter-properties": "off",
      "@typescript-eslint/no-unused-vars": [
        "error",
        {
          "args": "none"
        }
      ]
    },
    "overrides": [
      {
        "files": [
          "*.js"
        ],
        "rules": {
          "@typescript-eslint/explicit-function-return-type": [
            "off"
          ],
          "@typescript-eslint/no-var-requires": [
            "off"
          ]
        }
      }
    ]
  },
  "jest": {
    "collectCoverage": true,
    "collectCoverageFrom": [
      "lib/**/*.ts",
      "!lib/**/*.d.ts",
      "!lib/xmllint.ts",
      "!node_modules/"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 80,
        "functions": 90,
        "lines": 90,
        "statements": 90
      }
    }
  },
  "dependencies": {
    "@types/node": "^14.0.18",
    "@types/sax": "^1.2.1",
    "arg": "^4.1.3",
    "sax": "^1.2.4"
  },
  "devDependencies": {
    "@babel/core": "^7.10.4",
    "@babel/plugin-proposal-class-properties": "^7.10.4",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
    "@babel/plugin-proposal-optional-chaining": "^7.10.4",
    "@babel/plugin-transform-typescript": "^7.10.4",
    "@babel/preset-env": "^7.10.4",
    "@babel/preset-typescript": "^7.10.4",
    "@types/jest": "^26.0.4",
    "@typescript-eslint/eslint-plugin": "^3.6.0",
    "@typescript-eslint/parser": "^3.6.0",
    "babel-eslint": "^10.1.0",
    "babel-polyfill": "^6.26.0",
    "concurrently": "^5.2.0",
    "eslint": "^7.4.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-jest": "^23.18.0",
    "eslint-plugin-prettier": "^3.1.4",
    "express": "^4.17.1",
    "husky": "^4.2.5",
    "jest": "^26.1.0",
    "lint-staged": "^10.2.11",
    "prettier": "^2.0.5",
    "sort-package-json": "^1.44.0",
    "source-map": "~0.7.3",
    "stats-lite": "^2.2.0",
    "stream-json": "^1.5.0",
    "through2-map": "^3.0.0",
    "typescript": "^3.9.6"
  },
  "engines": {
    "node": ">=10.3.0",
    "npm": ">=5.6.0"
  },
  "License": "MIT"
}
