package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "_from": "parse-entities@^2.0.0",
  3. "_id": "parse-entities@2.0.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==",
  6. "_location": "/parse-entities",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "parse-entities@^2.0.0",
  12. "name": "parse-entities",
  13. "escapedName": "parse-entities",
  14. "rawSpec": "^2.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.0"
  17. },
  18. "_requiredBy": [
  19. "/mdast-util-from-markdown",
  20. "/mdast-util-to-markdown",
  21. "/micromark"
  22. ],
  23. "_resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz",
  24. "_shasum": "53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8",
  25. "_spec": "parse-entities@^2.0.0",
  26. "_where": "D:\\qianger\\7\\jindouyunNewFront\\node_modules\\mdast-util-from-markdown",
  27. "author": {
  28. "name": "Titus Wormer",
  29. "email": "tituswormer@gmail.com",
  30. "url": "https://wooorm.com"
  31. },
  32. "browser": {
  33. "./decode-entity.js": "./decode-entity.browser.js"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/wooorm/parse-entities/issues"
  37. },
  38. "bundleDependencies": false,
  39. "contributors": [
  40. {
  41. "name": "Titus Wormer",
  42. "email": "tituswormer@gmail.com",
  43. "url": "https://wooorm.com"
  44. }
  45. ],
  46. "dependencies": {
  47. "character-entities": "^1.0.0",
  48. "character-entities-legacy": "^1.0.0",
  49. "character-reference-invalid": "^1.0.0",
  50. "is-alphanumerical": "^1.0.0",
  51. "is-decimal": "^1.0.0",
  52. "is-hexadecimal": "^1.0.0"
  53. },
  54. "deprecated": false,
  55. "description": "Parse HTML character references: fast, spec-compliant, positional information",
  56. "devDependencies": {
  57. "browserify": "^16.0.0",
  58. "dtslint": "^2.0.0",
  59. "nyc": "^15.0.0",
  60. "prettier": "^1.0.0",
  61. "remark-cli": "^7.0.0",
  62. "remark-preset-wooorm": "^6.0.0",
  63. "tape": "^4.0.0",
  64. "tape-run": "^6.0.0",
  65. "tinyify": "^2.0.0",
  66. "xo": "^0.25.0"
  67. },
  68. "files": [
  69. "index.js",
  70. "decode-entity.js",
  71. "decode-entity.browser.js",
  72. "types/index.d.ts"
  73. ],
  74. "funding": {
  75. "type": "github",
  76. "url": "https://github.com/sponsors/wooorm"
  77. },
  78. "homepage": "https://github.com/wooorm/parse-entities#readme",
  79. "keywords": [
  80. "parse",
  81. "html",
  82. "character",
  83. "reference",
  84. "entity",
  85. "entities"
  86. ],
  87. "license": "MIT",
  88. "name": "parse-entities",
  89. "nyc": {
  90. "check-coverage": true,
  91. "lines": 100,
  92. "functions": 100,
  93. "branches": 100
  94. },
  95. "prettier": {
  96. "tabWidth": 2,
  97. "useTabs": false,
  98. "singleQuote": true,
  99. "bracketSpacing": false,
  100. "semi": false,
  101. "trailingComma": "none"
  102. },
  103. "react-native": {
  104. "./decode-entity.js": "./decode-entity.js"
  105. },
  106. "remarkConfig": {
  107. "plugins": [
  108. "preset-wooorm"
  109. ]
  110. },
  111. "repository": {
  112. "type": "git",
  113. "url": "git+https://github.com/wooorm/parse-entities.git"
  114. },
  115. "scripts": {
  116. "build": "npm run build-bundle && npm run build-mangle",
  117. "build-bundle": "browserify . -s parseEntities > parse-entities.js",
  118. "build-mangle": "browserify . -s parseEntities -p tinyify > parse-entities.min.js",
  119. "format": "remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
  120. "test": "npm run format && npm run build && npm run test-coverage && npm run test-types",
  121. "test-api": "node test",
  122. "test-browser": "browserify test.js | tape-run",
  123. "test-coverage": "nyc --reporter lcov tape test.js",
  124. "test-types": "dtslint types"
  125. },
  126. "types": "types/index.d.ts",
  127. "version": "2.0.0",
  128. "xo": {
  129. "prettier": true,
  130. "esnext": false,
  131. "rules": {
  132. "no-self-compare": "off",
  133. "guard-for-in": "off",
  134. "max-depth": "off"
  135. },
  136. "ignores": [
  137. "parse-entities.js"
  138. ]
  139. }
  140. }