package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "parse5-htmlparser2-tree-adapter",
  3. "type": "module",
  4. "description": "htmlparser2 tree adapter for parse5.",
  5. "version": "7.1.0",
  6. "author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
  7. "contributors": "https://github.com/inikulin/parse5/graphs/contributors",
  8. "homepage": "https://parse5.js.org",
  9. "funding": "https://github.com/inikulin/parse5?sponsor=1",
  10. "keywords": [
  11. "parse5",
  12. "parser",
  13. "tree adapter",
  14. "htmlparser2"
  15. ],
  16. "license": "MIT",
  17. "main": "dist/cjs/index.js",
  18. "module": "dist/index.js",
  19. "types": "dist/index.d.ts",
  20. "exports": {
  21. "import": "./dist/index.js",
  22. "require": "./dist/cjs/index.js"
  23. },
  24. "dependencies": {
  25. "domhandler": "^5.0.3",
  26. "parse5": "^7.0.0"
  27. },
  28. "scripts": {
  29. "build:cjs": "tsc --moduleResolution node10 --module CommonJS --target ES6 --outDir dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json"
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "git://github.com/inikulin/parse5.git"
  34. },
  35. "files": [
  36. "dist/cjs/package.json",
  37. "dist/**/*.js",
  38. "dist/**/*.d.ts"
  39. ]
  40. }