package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "_from": "entities@^4.5.0",
  3. "_id": "entities@4.5.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
  6. "_location": "/entities",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "entities@^4.5.0",
  12. "name": "entities",
  13. "escapedName": "entities",
  14. "rawSpec": "^4.5.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^4.5.0"
  17. },
  18. "_requiredBy": [
  19. "/@vue/compiler-core"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz",
  22. "_shasum": "5d268ea5e7113ec74c4d033b79ea5a35a488fb48",
  23. "_spec": "entities@^4.5.0",
  24. "_where": "C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\@vue\\compiler-core",
  25. "author": {
  26. "name": "Felix Boehm",
  27. "email": "me@feedic.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/fb55/entities/issues"
  31. },
  32. "bundleDependencies": false,
  33. "deprecated": false,
  34. "description": "Encode & decode XML and HTML entities with ease & speed",
  35. "devDependencies": {
  36. "@types/jest": "^28.1.8",
  37. "@types/node": "^18.15.11",
  38. "@typescript-eslint/eslint-plugin": "^5.58.0",
  39. "@typescript-eslint/parser": "^5.58.0",
  40. "eslint": "^8.38.0",
  41. "eslint-config-prettier": "^8.8.0",
  42. "eslint-plugin-node": "^11.1.0",
  43. "jest": "^28.1.3",
  44. "prettier": "^2.8.7",
  45. "ts-jest": "^28.0.8",
  46. "typedoc": "^0.24.1",
  47. "typescript": "^5.0.4"
  48. },
  49. "directories": {
  50. "lib": "lib/"
  51. },
  52. "engines": {
  53. "node": ">=0.12"
  54. },
  55. "exports": {
  56. ".": {
  57. "require": "./lib/index.js",
  58. "import": "./lib/esm/index.js"
  59. },
  60. "./lib/decode.js": {
  61. "require": "./lib/decode.js",
  62. "import": "./lib/esm/decode.js"
  63. },
  64. "./lib/escape.js": {
  65. "require": "./lib/escape.js",
  66. "import": "./lib/esm/escape.js"
  67. }
  68. },
  69. "files": [
  70. "lib/**/*"
  71. ],
  72. "funding": "https://github.com/fb55/entities?sponsor=1",
  73. "homepage": "https://github.com/fb55/entities#readme",
  74. "jest": {
  75. "preset": "ts-jest",
  76. "coverageProvider": "v8",
  77. "moduleNameMapper": {
  78. "^(.*)\\.js$": "$1"
  79. }
  80. },
  81. "keywords": [
  82. "entity",
  83. "decoding",
  84. "encoding",
  85. "html",
  86. "xml",
  87. "html entities"
  88. ],
  89. "license": "BSD-2-Clause",
  90. "main": "lib/index.js",
  91. "module": "lib/esm/index.js",
  92. "name": "entities",
  93. "prettier": {
  94. "tabWidth": 4,
  95. "proseWrap": "always"
  96. },
  97. "repository": {
  98. "type": "git",
  99. "url": "git://github.com/fb55/entities.git"
  100. },
  101. "scripts": {
  102. "build": "npm run build:cjs && npm run build:esm",
  103. "build:cjs": "tsc --sourceRoot https://raw.githubusercontent.com/fb55/entities/$(git rev-parse HEAD)/src/",
  104. "build:docs": "typedoc --hideGenerator src/index.ts",
  105. "build:encode-trie": "ts-node scripts/write-encode-map.ts",
  106. "build:esm": "npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json",
  107. "build:trie": "ts-node scripts/write-decode-map.ts",
  108. "format": "npm run format:es && npm run format:prettier",
  109. "format:es": "npm run lint:es -- --fix",
  110. "format:prettier": "npm run prettier -- --write",
  111. "lint": "npm run lint:es && npm run lint:prettier",
  112. "lint:es": "eslint .",
  113. "lint:prettier": "npm run prettier -- --check",
  114. "prepare": "npm run build",
  115. "prettier": "prettier '**/*.{ts,md,json,yml}'",
  116. "test": "npm run test:jest && npm run lint",
  117. "test:jest": "jest"
  118. },
  119. "sideEffects": false,
  120. "types": "lib/index.d.ts",
  121. "version": "4.5.0"
  122. }