package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "character-entities-html4",
  3. "version": "2.1.0",
  4. "description": "Map of named character references from HTML 4",
  5. "license": "MIT",
  6. "keywords": [
  7. "html",
  8. "html4",
  9. "entity",
  10. "entities",
  11. "character",
  12. "reference",
  13. "name",
  14. "replacement"
  15. ],
  16. "repository": "wooorm/character-entities-html4",
  17. "bugs": "https://github.com/wooorm/character-entities-html4/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. "prettier": "^2.0.0",
  40. "remark-cli": "^10.0.0",
  41. "remark-preset-wooorm": "^9.0.0",
  42. "rimraf": "^3.0.0",
  43. "tape": "^5.0.0",
  44. "type-coverage": "^2.0.0",
  45. "typescript": "^4.0.0",
  46. "xo": "^0.46.0"
  47. },
  48. "scripts": {
  49. "prepublishOnly": "npm run build && npm run format",
  50. "generate": "node build",
  51. "build": "rimraf \"*.d.ts\" && tsc && type-coverage",
  52. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  53. "test-api": "node --conditions development test.js",
  54. "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
  55. "test": "npm run generate && npm run build && npm run format && npm run test-coverage"
  56. },
  57. "prettier": {
  58. "tabWidth": 2,
  59. "useTabs": false,
  60. "singleQuote": true,
  61. "bracketSpacing": false,
  62. "semi": false,
  63. "trailingComma": "none"
  64. },
  65. "xo": {
  66. "prettier": true
  67. },
  68. "remarkConfig": {
  69. "plugins": [
  70. "preset-wooorm"
  71. ]
  72. },
  73. "typeCoverage": {
  74. "atLeast": 100,
  75. "detail": true,
  76. "strict": true,
  77. "ignoreCatch": true
  78. }
  79. }