package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "_from": "entities@^2.0.0",
  3. "_id": "entities@2.2.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==",
  6. "_location": "/entities",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "entities@^2.0.0",
  12. "name": "entities",
  13. "escapedName": "entities",
  14. "rawSpec": "^2.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.0"
  17. },
  18. "_requiredBy": [
  19. "/dom-serializer",
  20. "/htmlparser2",
  21. "/svgo/dom-serializer"
  22. ],
  23. "_resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz",
  24. "_shasum": "098dc90ebb83d8dffa089d55256b351d34c4da55",
  25. "_spec": "entities@^2.0.0",
  26. "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\dom-serializer",
  27. "author": {
  28. "name": "Felix Boehm",
  29. "email": "me@feedic.com"
  30. },
  31. "bugs": {
  32. "url": "https://github.com/fb55/entities/issues"
  33. },
  34. "bundleDependencies": false,
  35. "deprecated": false,
  36. "description": "Encode & decode XML and HTML entities with ease",
  37. "devDependencies": {
  38. "@types/jest": "^26.0.0",
  39. "@types/node": "^14.11.8",
  40. "@typescript-eslint/eslint-plugin": "^4.4.1",
  41. "@typescript-eslint/parser": "^4.4.1",
  42. "coveralls": "*",
  43. "eslint": "^7.11.0",
  44. "eslint-config-prettier": "^7.0.0",
  45. "eslint-plugin-node": "^11.1.0",
  46. "jest": "^26.5.3",
  47. "prettier": "^2.0.5",
  48. "ts-jest": "^26.1.0",
  49. "typescript": "^4.0.2"
  50. },
  51. "directories": {
  52. "lib": "lib/"
  53. },
  54. "files": [
  55. "lib/**/*"
  56. ],
  57. "funding": "https://github.com/fb55/entities?sponsor=1",
  58. "homepage": "https://github.com/fb55/entities#readme",
  59. "jest": {
  60. "preset": "ts-jest",
  61. "testEnvironment": "node"
  62. },
  63. "keywords": [
  64. "entity",
  65. "decoding",
  66. "encoding",
  67. "html",
  68. "xml",
  69. "html entities"
  70. ],
  71. "license": "BSD-2-Clause",
  72. "main": "lib/index.js",
  73. "name": "entities",
  74. "prettier": {
  75. "tabWidth": 4,
  76. "proseWrap": "always"
  77. },
  78. "repository": {
  79. "type": "git",
  80. "url": "git://github.com/fb55/entities.git"
  81. },
  82. "scripts": {
  83. "build": "tsc && cp -r src/maps lib",
  84. "coverage": "cat coverage/lcov.info | coveralls",
  85. "format": "npm run format:es && npm run format:prettier",
  86. "format:es": "npm run lint:es -- --fix",
  87. "format:prettier": "npm run prettier -- --write",
  88. "lint": "npm run lint:es && npm run lint:prettier",
  89. "lint:es": "eslint .",
  90. "lint:prettier": "npm run prettier -- --check",
  91. "prepare": "npm run build",
  92. "prettier": "prettier '**/*.{ts,md,json,yml}'",
  93. "test": "jest --coverage && npm run lint"
  94. },
  95. "sideEffects": false,
  96. "types": "lib/index.d.ts",
  97. "version": "2.2.0"
  98. }