package.json 2.0 KB

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