package.json 2.2 KB

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