package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "parse5",
  3. "type": "module",
  4. "description": "HTML parser and serializer.",
  5. "version": "7.1.2",
  6. "author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
  7. "contributors": "https://github.com/inikulin/parse5/graphs/contributors",
  8. "homepage": "https://github.com/inikulin/parse5",
  9. "funding": "https://github.com/inikulin/parse5?sponsor=1",
  10. "dependencies": {
  11. "entities": "^4.4.0"
  12. },
  13. "keywords": [
  14. "html",
  15. "parser",
  16. "html5",
  17. "WHATWG",
  18. "specification",
  19. "fast",
  20. "html parser",
  21. "html5 parser",
  22. "htmlparser",
  23. "parse5",
  24. "serializer",
  25. "html serializer",
  26. "htmlserializer",
  27. "parse",
  28. "serialize"
  29. ],
  30. "license": "MIT",
  31. "main": "dist/cjs/index.js",
  32. "module": "dist/index.js",
  33. "types": "dist/index.d.ts",
  34. "exports": {
  35. "import": "./dist/index.js",
  36. "require": "./dist/cjs/index.js"
  37. },
  38. "scripts": {
  39. "build:cjs": "tsc --module CommonJS --target ES6 --outDir dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json"
  40. },
  41. "repository": {
  42. "type": "git",
  43. "url": "git://github.com/inikulin/parse5.git"
  44. },
  45. "files": [
  46. "dist/cjs/package.json",
  47. "dist/**/*.js",
  48. "dist/**/*.d.ts"
  49. ]
  50. }