package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "domhandler",
  3. "version": "4.3.1",
  4. "description": "Handler for htmlparser2 that turns pages into a dom",
  5. "author": "Felix Boehm <me@feedic.com>",
  6. "funding": {
  7. "url": "https://github.com/fb55/domhandler?sponsor=1"
  8. },
  9. "license": "BSD-2-Clause",
  10. "main": "lib/index.js",
  11. "types": "lib/index.d.ts",
  12. "sideEffects": false,
  13. "files": [
  14. "lib"
  15. ],
  16. "scripts": {
  17. "test": "npm run test:jest && npm run lint",
  18. "test:jest": "jest",
  19. "lint": "eslint src",
  20. "format": "prettier --write '**/*.{ts,md,json}'",
  21. "build": "tsc",
  22. "prepare": "npm run build"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git://github.com/fb55/domhandler.git"
  27. },
  28. "keywords": [
  29. "dom",
  30. "htmlparser2"
  31. ],
  32. "engines": {
  33. "node": ">= 4"
  34. },
  35. "dependencies": {
  36. "domelementtype": "^2.2.0"
  37. },
  38. "devDependencies": {
  39. "@types/jest": "^27.4.1",
  40. "@types/node": "^17.0.21",
  41. "@typescript-eslint/eslint-plugin": "^5.15.0",
  42. "@typescript-eslint/parser": "^5.15.0",
  43. "eslint": "^8.11.0",
  44. "eslint-config-prettier": "^8.5.0",
  45. "htmlparser2": "^7.2.0",
  46. "jest": "^27.5.1",
  47. "prettier": "^2.6.0",
  48. "ts-jest": "^27.1.3",
  49. "typescript": "^4.6.2"
  50. },
  51. "jest": {
  52. "preset": "ts-jest",
  53. "testEnvironment": "node"
  54. },
  55. "prettier": {
  56. "tabWidth": 4
  57. }
  58. }