package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "dom-serializer",
  3. "version": "1.4.1",
  4. "description": "render domhandler DOM nodes to a string",
  5. "author": "Felix Boehm <me@feedic.com>",
  6. "sideEffects": false,
  7. "keywords": [
  8. "html",
  9. "xml",
  10. "render"
  11. ],
  12. "repository": {
  13. "type": "git",
  14. "url": "git://github.com/cheeriojs/dom-renderer.git"
  15. },
  16. "main": "lib/index.js",
  17. "types": "lib/index.d.ts",
  18. "files": [
  19. "lib/**/*"
  20. ],
  21. "dependencies": {
  22. "domelementtype": "^2.0.1",
  23. "domhandler": "^4.2.0",
  24. "entities": "^2.0.0"
  25. },
  26. "devDependencies": {
  27. "@types/jest": "^26.0.23",
  28. "@types/node": "^15.3.0",
  29. "@typescript-eslint/eslint-plugin": "^4.23.0",
  30. "@typescript-eslint/parser": "^4.23.0",
  31. "cheerio": "^1.0.0-rc.9",
  32. "coveralls": "^3.0.5",
  33. "eslint": "^7.26.0",
  34. "eslint-config-prettier": "^8.3.0",
  35. "htmlparser2": "^6.1.0",
  36. "jest": "^26.0.1",
  37. "prettier": "^2.3.0",
  38. "ts-jest": "^26.5.6",
  39. "typescript": "^4.0.2"
  40. },
  41. "scripts": {
  42. "test": "jest --coverage && npm run lint",
  43. "coverage": "cat coverage/lcov.info | coveralls",
  44. "lint": "eslint src",
  45. "format": "prettier --write '**/*.{ts,md,json}'",
  46. "build": "tsc",
  47. "prepare": "npm run build"
  48. },
  49. "jest": {
  50. "preset": "ts-jest",
  51. "testEnvironment": "node"
  52. },
  53. "funding": "https://github.com/cheeriojs/dom-serializer?sponsor=1",
  54. "license": "MIT"
  55. }