package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "html-void-elements",
  3. "version": "1.0.5",
  4. "description": "List of known void HTML elements",
  5. "license": "MIT",
  6. "keywords": [
  7. "html",
  8. "void",
  9. "tag",
  10. "name",
  11. "element",
  12. "tagname",
  13. "w3c",
  14. "whatwg"
  15. ],
  16. "repository": "wooorm/html-void-elements",
  17. "bugs": "https://github.com/wooorm/html-void-elements/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. "main": "index.json",
  27. "files": [
  28. "index.json"
  29. ],
  30. "dependencies": {},
  31. "devDependencies": {
  32. "bail": "^1.0.0",
  33. "browserify": "^16.0.0",
  34. "concat-stream": "^2.0.0",
  35. "hast-util-select": "^3.0.0",
  36. "hast-util-to-string": "^1.0.0",
  37. "prettier": "^1.0.0",
  38. "rehype-parse": "^6.0.0",
  39. "remark-cli": "^7.0.0",
  40. "remark-preset-wooorm": "^6.0.0",
  41. "tape": "^4.0.0",
  42. "tinyify": "^2.0.0",
  43. "unified": "^8.0.0",
  44. "xo": "^0.25.0"
  45. },
  46. "scripts": {
  47. "generate": "node build",
  48. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  49. "build-bundle": "browserify . -s htmlVoidElements > html-void-elements.js",
  50. "build-mangle": "browserify . -s htmlVoidElements -p tinyify > html-void-elements.min.js",
  51. "build": "npm run build-bundle && npm run build-mangle",
  52. "test-api": "node test",
  53. "test": "npm run format && npm run build && npm run test-api"
  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. "esnext": false,
  66. "ignores": [
  67. "html-void-elements.min.js"
  68. ]
  69. },
  70. "remarkConfig": {
  71. "plugins": [
  72. "preset-wooorm"
  73. ]
  74. }
  75. }