package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "character-entities",
  3. "version": "1.2.4",
  4. "description": "HTML character entity information",
  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. "main": "index.json",
  26. "files": [
  27. "index.json"
  28. ],
  29. "dependencies": {},
  30. "devDependencies": {
  31. "bail": "^1.0.0",
  32. "browserify": "^16.0.0",
  33. "concat-stream": "^2.0.0",
  34. "prettier": "^1.0.0",
  35. "remark-cli": "^7.0.0",
  36. "remark-preset-wooorm": "^6.0.0",
  37. "tape": "^4.0.0",
  38. "tinyify": "^2.0.0",
  39. "xo": "^0.25.0"
  40. },
  41. "scripts": {
  42. "generate": "node build",
  43. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  44. "build-bundle": "browserify index.json -s characterEntities -o character-entities.js",
  45. "build-mangle": "browserify index.json -s characterEntities -p tinyify -o character-entities.min.js",
  46. "build": "npm run build-bundle && npm run build-mangle",
  47. "lint": "xo",
  48. "test-api": "node test",
  49. "test": "npm run generate && npm run format && npm run build && npm run test-api"
  50. },
  51. "prettier": {
  52. "tabWidth": 2,
  53. "useTabs": false,
  54. "singleQuote": true,
  55. "bracketSpacing": false,
  56. "semi": false,
  57. "trailingComma": "none"
  58. },
  59. "xo": {
  60. "prettier": true,
  61. "esnext": false,
  62. "ignores": [
  63. "character-entities.js"
  64. ]
  65. },
  66. "remarkConfig": {
  67. "plugins": [
  68. "preset-wooorm"
  69. ]
  70. }
  71. }