{
  "name": "tag-soup",
  "version": "1.1.1",
  "description": "The fastest pure JS SAX/DOM XML/HTML parser.",
  "main": "./lib/index-cjs.js",
  "module": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "sideEffects": false,
  "files": [
    "lib"
  ],
  "scripts": {
    "build": "tsc && rimraf './lib/CharCode.*' && npm run rollup && npm run terser",
    "rollup": "rollup --external @smikhalevski/object-pool,speedy-entities,tokenizer-dsl,tslib --input ./lib/index.js --file ./lib/index-cjs.js --format cjs --plugin @rollup/plugin-node-resolve",
    "terser": "terser --compress --mangle toplevel --output ./lib/index-cjs.js -- ./lib/index-cjs.js",
    "clean": "rimraf ./lib ./docs",
    "test": "jest --detectOpenHandles",
    "perf": "[ -d ./lib ] || npm run build && node --expose-gc --max-old-space-size=4096 ./node_modules/.bin/toofast ./src/test/perf.js",
    "docs": "typedoc ./src/main/index.ts",
    "publish-docs": "[ -d ./docs ] && [[ ! $(git status --porcelain) ]] && branch=$(git rev-parse --abbrev-ref HEAD) && sha=$(git rev-parse --short HEAD) && t=$(mktemp -d) && cp -R ./docs/ $t && git checkout ghpages && ls -A | grep -wv .git | xargs rm -rf && cp -R $t/ . && git add . && git commit -m \"Updated docs ($sha)\" && git push && git checkout $branch",
    "release-docs": "npm run clean && npm run docs && npm run publish-docs"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/smikhalevski/tag-soup.git"
  },
  "keywords": [
    "tiny",
    "small",
    "forgiving",
    "stream",
    "fast",
    "sax",
    "dom",
    "html",
    "xml",
    "parser"
  ],
  "author": "Savva Mikhalevski <smikhalevski@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/smikhalevski/tag-soup/issues"
  },
  "homepage": "https://github.com/smikhalevski/tag-soup#readme",
  "jest": {
    "preset": "ts-jest",
    "globals": {
      "ts-jest": {
        "diagnostics": {
          "ignoreCodes": [
            151001
          ]
        }
      }
    }
  },
  "devDependencies": {
    "@rollup/plugin-node-resolve": "^13.1.3",
    "@smikhalevski/perf-test": "^1.0.0",
    "@types/jest": "^27.4.1",
    "htmlparser-benchmark": "^1.1.3",
    "htmlparser2": "^7.2.0",
    "jest": "^27.5.1",
    "parse5": "^6.0.1",
    "rimraf": "^3.0.2",
    "rollup": "^2.70.1",
    "sax": "^1.2.4",
    "terser": "^5.12.1",
    "toofast": "^1.0.0",
    "ts-jest": "^27.1.3",
    "typedoc": "^0.22.13",
    "typescript": "^4.6.2"
  },
  "dependencies": {
    "@smikhalevski/object-pool": "^1.0.0",
    "speedy-entities": "^1.1.3",
    "tokenizer-dsl": "^3.0.0",
    "tslib": "^2.3.0"
  }
}
