{
  "name": "@leizm/html-parser",
  "version": "1.0.0",
  "description": "Fast HTML parser written in pure JavaScript",
  "main": "dist/lib/index.js",
  "typings": "dist/lib/index.d.ts",
  "files": [
    "dist/lib",
    "dist/parser.js",
    "dist/parser.min.js"
  ],
  "scripts": {
    "test": "npm run compile && mocha dist/test/**/*.test.js",
    "test-fast": "mocha --require ts-node/register src/test/**/*.test.ts",
    "coverage": "nyc --reporter=lcov mocha --require ts-node/register src/test/**/*.test.ts && nyc report",
    "coveralls": "cat ./coverage/lcov.info | coveralls",
    "compile": "rm -rf dist && tsc",
    "prepublish": "npm run compile && npm run test && npm run build-one",
    "format": "prettier --write 'src/**/*.ts'",
    "build-one": "browserify -r ./dist/lib/index.js:@leizm/html-parser -o ./dist/parser.js && terser -o ./dist/parser.min.js ./dist/parser.js",
    "benchmark": "npm run compile && rm -rf isolate-*-v8.log && node --prof dist/example/benchmark.js && node --prof-process isolate-*-v8.log > benchmark-prof.log"
  },
  "nyc": {
    "extension": [
      ".ts"
    ],
    "exclude": [
      "**/*.d.ts"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/leizongmin/leizm-html-parser.git"
  },
  "keywords": [
    "html",
    "parser"
  ],
  "author": "Zongmin Lei <leizongmin@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/leizongmin/leizm-html-parser/issues"
  },
  "homepage": "https://github.com/leizongmin/leizm-html-parser#readme",
  "devDependencies": {
    "@types/chai": "^4.0.10",
    "@types/colors": "^1.1.3",
    "@types/mocha": "^8.2.0",
    "@types/node": "^14.14.20",
    "browserify": "^17.0.0",
    "chai": "^4.1.2",
    "colors": "^1.1.2",
    "coveralls": "^3.0.0",
    "mocha": "^8.2.1",
    "nyc": "^15.1.0",
    "prettier": "^2.2.1",
    "terser": "^5.5.1",
    "ts-node": "^9.1.1",
    "typescript": "^4.1.3"
  }
}