package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "character-entities",
  3. "version": "2.0.2",
  4. "description": "Map of named character references",
  5. "license": "MIT",
  6. "keywords": [
  7. "html",
  8. "entity",
  9. "entities",
  10. "character",
  11. "reference",
  12. "name",
  13. "replacement"
  14. ],
  15. "repository": "wooorm/character-entities",
  16. "bugs": "https://github.com/wooorm/character-entities/issues",
  17. "funding": {
  18. "type": "github",
  19. "url": "https://github.com/sponsors/wooorm"
  20. },
  21. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  22. "contributors": [
  23. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  24. ],
  25. "sideEffects": false,
  26. "type": "module",
  27. "main": "index.js",
  28. "types": "index.d.ts",
  29. "files": [
  30. "index.d.ts",
  31. "index.js"
  32. ],
  33. "devDependencies": {
  34. "@types/tape": "^4.0.0",
  35. "bail": "^2.0.0",
  36. "c8": "^7.0.0",
  37. "concat-stream": "^2.0.0",
  38. "prettier": "^2.0.0",
  39. "remark-cli": "^10.0.0",
  40. "remark-preset-wooorm": "^9.0.0",
  41. "rimraf": "^3.0.0",
  42. "tape": "^5.0.0",
  43. "type-coverage": "^2.0.0",
  44. "typescript": "^4.0.0",
  45. "xo": "^0.50.0"
  46. },
  47. "scripts": {
  48. "generate": "node build",
  49. "prepublishOnly": "npm run build && npm run format",
  50. "build": "rimraf \"*.d.ts\" && tsc && type-coverage",
  51. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  52. "test-api": "node --conditions development test.js",
  53. "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
  54. "test": "npm run generate && npm run build && npm run format && npm run test-coverage"
  55. },
  56. "prettier": {
  57. "tabWidth": 2,
  58. "useTabs": false,
  59. "singleQuote": true,
  60. "bracketSpacing": false,
  61. "semi": false,
  62. "trailingComma": "none"
  63. },
  64. "xo": {
  65. "prettier": true
  66. },
  67. "remarkConfig": {
  68. "plugins": [
  69. "preset-wooorm"
  70. ]
  71. },
  72. "typeCoverage": {
  73. "atLeast": 100,
  74. "detail": true,
  75. "strict": true,
  76. "ignoreCatch": true
  77. }
  78. }