package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "_from": "html-entities@^2.3.2",
  3. "_id": "html-entities@2.6.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==",
  6. "_location": "/html-entities",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "html-entities@^2.3.2",
  12. "name": "html-entities",
  13. "escapedName": "html-entities",
  14. "rawSpec": "^2.3.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.3.2"
  17. },
  18. "_requiredBy": [
  19. "/webpack-dev-server"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/html-entities/-/html-entities-2.6.0.tgz",
  22. "_shasum": "7c64f1ea3b36818ccae3d3fb48b6974208e984f8",
  23. "_spec": "html-entities@^2.3.2",
  24. "_where": "E:\\vue_project\\el-table-column\\node_modules\\webpack-dev-server",
  25. "author": {
  26. "name": "Marat Dulin",
  27. "email": "mdevils@yandex.ru"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/mdevils/html-entities/issues"
  31. },
  32. "bundleDependencies": false,
  33. "deprecated": false,
  34. "description": "Fastest HTML entities encode/decode library.",
  35. "devDependencies": {
  36. "@commitlint/cli": "^17.6.6",
  37. "@commitlint/config-conventional": "^17.6.6",
  38. "@types/benchmark": "^2.1.0",
  39. "@types/he": "^1.1.1",
  40. "@types/jest": "^29.5.14",
  41. "@types/node": "^22.13.14",
  42. "benchmark": "^2.1.4",
  43. "entities": "^6.0.0",
  44. "eslint": "^9.23.0",
  45. "eslint-config-prettier": "^10.1.1",
  46. "eslint-plugin-import": "^2.31.0",
  47. "flowgen": "^1.13.0",
  48. "he": "^1.2.0",
  49. "husky": "^4.3.6",
  50. "prettier": "^3.5.3",
  51. "standard-version": "^9.5.0",
  52. "ts-jest": "^29.3.0",
  53. "tshy": "^3.0.2",
  54. "tsx": "^4.19.3",
  55. "typescript": "^5.8.2",
  56. "typescript-eslint": "^8.28.0"
  57. },
  58. "exports": {
  59. "./package.json": "./package.json",
  60. ".": {
  61. "import": {
  62. "types": "./dist/esm/index.d.ts",
  63. "default": "./dist/esm/index.js"
  64. },
  65. "require": {
  66. "types": "./dist/commonjs/index.d.ts",
  67. "default": "./dist/commonjs/index.js"
  68. }
  69. }
  70. },
  71. "files": [
  72. "dist",
  73. "src",
  74. "LICENSE"
  75. ],
  76. "funding": [
  77. {
  78. "type": "github",
  79. "url": "https://github.com/sponsors/mdevils"
  80. },
  81. {
  82. "type": "patreon",
  83. "url": "https://patreon.com/mdevils"
  84. }
  85. ],
  86. "homepage": "https://github.com/mdevils/html-entities#readme",
  87. "husky": {
  88. "hooks": {
  89. "pre-commit": "npm run lint && npm run test"
  90. }
  91. },
  92. "keywords": [
  93. "html",
  94. "html entities",
  95. "html entities encode",
  96. "html entities decode",
  97. "entities",
  98. "entities encode",
  99. "entities decode"
  100. ],
  101. "license": "MIT",
  102. "main": "./dist/commonjs/index.js",
  103. "module": "./dist/esm/index.js",
  104. "name": "html-entities",
  105. "repository": {
  106. "type": "git",
  107. "url": "git+https://github.com/mdevils/html-entities.git"
  108. },
  109. "scripts": {
  110. "benchmark": "tsx benchmark/benchmark",
  111. "build": "rm -Rf dist && tsc --noEmit && tshy && tsc --declaration --emitDeclarationOnly -p tsconfig.json && tsc --emitDeclarationOnly -p tsconfig.esm.json && npm run remove-unused-declarations && npm run flow-type-gen",
  112. "flow-type-gen": "flowgen --add-flow-header dist/esm/index.d.ts -o dist/commonjs/index.js.flow",
  113. "lint": "eslint src/**.ts",
  114. "prepublishOnly": "npm run build && npm run test && npm run test:dist",
  115. "release": "standard-version",
  116. "remove-unused-declarations": "find dist -type f \\( -name '*.d.ts' ! -name index.d.ts \\) | xargs rm",
  117. "test": "jest",
  118. "test:dist": "npm run test:dist:commonjs && npm run test:dist:esm",
  119. "test:dist:commonjs": "TEST_DIST=commonjs npm run test",
  120. "test:dist:esm": "TEST_DIST=esm node --experimental-vm-modules node_modules/.bin/jest",
  121. "test:watch": "jest --watch"
  122. },
  123. "sideEffects": false,
  124. "tshy": {
  125. "exports": {
  126. "./package.json": "./package.json",
  127. ".": "./src/index.ts"
  128. },
  129. "selfLink": false
  130. },
  131. "type": "module",
  132. "types": "./dist/commonjs/index.d.ts",
  133. "typings": "./dist/commonjs/index.d.ts",
  134. "version": "2.6.0"
  135. }