package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "_from": "html-entities@^2.1.0",
  3. "_id": "html-entities@2.3.3",
  4. "_inBundle": false,
  5. "_integrity": "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==",
  6. "_location": "/html-entities",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "html-entities@^2.1.0",
  12. "name": "html-entities",
  13. "escapedName": "html-entities",
  14. "rawSpec": "^2.1.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.1.0"
  17. },
  18. "_requiredBy": [
  19. "/webpack-hot-middleware"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.3.tgz",
  22. "_shasum": "117d7626bece327fc8baace8868fa6f5ef856e46",
  23. "_spec": "html-entities@^2.1.0",
  24. "_where": "H:\\gs_nuxt\\node_modules\\webpack-hot-middleware",
  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. "@types/benchmark": "^2.1.0",
  37. "@types/chai": "^4.2.11",
  38. "@types/he": "^1.1.1",
  39. "@types/mocha": "^7.0.2",
  40. "@types/node": "^13.13.4",
  41. "@typescript-eslint/eslint-plugin": "^4.6.1",
  42. "@typescript-eslint/parser": "^4.6.1",
  43. "benchmark": "^2.1.4",
  44. "chai": "^4.2.0",
  45. "entities": "^3.0.1",
  46. "eslint": "^7.12.1",
  47. "eslint-config-prettier": "^6.15.0",
  48. "eslint-plugin-import": "^2.22.1",
  49. "eslint-plugin-prettier": "^3.1.4",
  50. "flowgen": "^1.13.0",
  51. "he": "^1.2.0",
  52. "husky": "^4.3.6",
  53. "mocha": "^9.1.3",
  54. "prettier": "^2.1.2",
  55. "terser": "^5.6.1",
  56. "ts-node": "^8.9.1",
  57. "ttypescript": "^1.5.12",
  58. "typescript": "^3.8.3",
  59. "typescript-transform-macros": "^1.1.1"
  60. },
  61. "files": [
  62. "lib",
  63. "LICENSE"
  64. ],
  65. "homepage": "https://github.com/mdevils/html-entities#readme",
  66. "husky": {
  67. "hooks": {
  68. "pre-commit": "npm run lint && npm run test"
  69. }
  70. },
  71. "keywords": [
  72. "html",
  73. "html entities",
  74. "html entities encode",
  75. "html entities decode",
  76. "entities",
  77. "entities encode",
  78. "entities decode"
  79. ],
  80. "license": "MIT",
  81. "main": "./lib/index.js",
  82. "name": "html-entities",
  83. "repository": {
  84. "type": "git",
  85. "url": "git+https://github.com/mdevils/html-entities.git"
  86. },
  87. "scripts": {
  88. "benchmark": "TS_NODE_COMPILER=ttypescript ts-node benchmark/benchmark",
  89. "build": "rm -Rf lib/* && ttsc && npm run remove-unused-declarations && npm run flow-type-gen && npm run minimize-lib-files && npm run test:lib",
  90. "flow-type-gen": "flowgen --add-flow-header lib/index.d.ts -o lib/index.js.flow",
  91. "lint": "eslint src/**.ts",
  92. "minimize-lib-files": "find lib -type f \\( -name '*.js' ! -name index.js \\) | while read fn; do terser $fn -o $fn; done",
  93. "prepublishOnly": "npm run build",
  94. "remove-unused-declarations": "find lib -type f \\( -name '*.d.ts' ! -name index.d.ts \\) | xargs rm",
  95. "test": "TS_NODE_COMPILER=ttypescript mocha --recursive -r ts-node/register test/**/*.ts",
  96. "test:lib": "TEST_LIB=1 npm run test"
  97. },
  98. "sideEffects": false,
  99. "types": "./lib/index.d.ts",
  100. "typings": "./lib/index.d.ts",
  101. "version": "2.3.3"
  102. }