package.json 2.0 KB

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