package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "_args": [
  3. [
  4. "html-entities@2.4.0",
  5. "/Users/mac/projects/mime/mine"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "html-entities@2.4.0",
  10. "_id": "html-entities@2.4.0",
  11. "_inBundle": false,
  12. "_integrity": "sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==",
  13. "_location": "/html-entities",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "html-entities@2.4.0",
  19. "name": "html-entities",
  20. "escapedName": "html-entities",
  21. "rawSpec": "2.4.0",
  22. "saveSpec": null,
  23. "fetchSpec": "2.4.0"
  24. },
  25. "_requiredBy": [
  26. "/webpack-dev-server"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/html-entities/-/html-entities-2.4.0.tgz",
  29. "_spec": "2.4.0",
  30. "_where": "/Users/mac/projects/mime/mine",
  31. "author": {
  32. "name": "Marat Dulin",
  33. "email": "mdevils@yandex.ru"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/mdevils/html-entities/issues"
  37. },
  38. "description": "Fastest HTML entities encode/decode library.",
  39. "devDependencies": {
  40. "@types/benchmark": "^2.1.0",
  41. "@types/chai": "^4.2.11",
  42. "@types/he": "^1.1.1",
  43. "@types/mocha": "^7.0.2",
  44. "@types/node": "^13.13.4",
  45. "@typescript-eslint/eslint-plugin": "^4.6.1",
  46. "@typescript-eslint/parser": "^4.6.1",
  47. "benchmark": "^2.1.4",
  48. "chai": "^4.2.0",
  49. "entities": "^4.5.0",
  50. "eslint": "^7.12.1",
  51. "eslint-config-prettier": "^6.15.0",
  52. "eslint-plugin-import": "^2.22.1",
  53. "eslint-plugin-prettier": "^3.1.4",
  54. "flowgen": "^1.13.0",
  55. "he": "^1.2.0",
  56. "husky": "^4.3.6",
  57. "mocha": "^9.2.2",
  58. "prettier": "^2.1.2",
  59. "terser": "^5.6.1",
  60. "ts-node": "^8.9.1",
  61. "ttypescript": "^1.5.15",
  62. "typescript": "^3.8.3",
  63. "typescript-transform-macros": "^1.1.1"
  64. },
  65. "files": [
  66. "lib",
  67. "LICENSE"
  68. ],
  69. "funding": [
  70. {
  71. "type": "github",
  72. "url": "https://github.com/sponsors/mdevils"
  73. },
  74. {
  75. "type": "patreon",
  76. "url": "https://patreon.com/mdevils"
  77. }
  78. ],
  79. "homepage": "https://github.com/mdevils/html-entities#readme",
  80. "husky": {
  81. "hooks": {
  82. "pre-commit": "npm run lint && npm run test"
  83. }
  84. },
  85. "keywords": [
  86. "html",
  87. "html entities",
  88. "html entities encode",
  89. "html entities decode",
  90. "entities",
  91. "entities encode",
  92. "entities decode"
  93. ],
  94. "license": "MIT",
  95. "main": "./lib/index.js",
  96. "name": "html-entities",
  97. "repository": {
  98. "type": "git",
  99. "url": "git+https://github.com/mdevils/html-entities.git"
  100. },
  101. "scripts": {
  102. "benchmark": "TS_NODE_COMPILER=ttypescript ts-node benchmark/benchmark",
  103. "build": "rm -Rf lib/* && ttsc && npm run remove-unused-declarations && npm run flow-type-gen && npm run minimize-lib-files && npm run test:lib",
  104. "flow-type-gen": "flowgen --add-flow-header lib/index.d.ts -o lib/index.js.flow",
  105. "lint": "eslint src/**.ts",
  106. "minimize-lib-files": "find lib -type f \\( -name '*.js' ! -name index.js \\) | while read fn; do terser $fn -o $fn; done",
  107. "prepublishOnly": "npm run build",
  108. "remove-unused-declarations": "find lib -type f \\( -name '*.d.ts' ! -name index.d.ts \\) | xargs rm",
  109. "test": "TS_NODE_COMPILER=ttypescript mocha --recursive -r ts-node/register test/**/*.ts",
  110. "test:lib": "TEST_LIB=1 npm run test"
  111. },
  112. "sideEffects": false,
  113. "types": "./lib/index.d.ts",
  114. "typings": "./lib/index.d.ts",
  115. "version": "2.4.0"
  116. }