package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "xml-utils",
  3. "version": "1.3.0",
  4. "description": "Parse XML without Blowing Up Your Bundle Size",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "files": [
  8. "index.d.ts",
  9. "index.js",
  10. "count-substring.js",
  11. "find-tag-by-name.js",
  12. "find-tag-by-path.js",
  13. "find-tags-by-name.js",
  14. "find-tags-by-path.js",
  15. "get-attribute.js",
  16. "index-of-match.js",
  17. "index-of-match-end.js",
  18. "remove-comments.js"
  19. ],
  20. "scripts": {
  21. "f": "npm run format",
  22. "format": "npx prettier --arrow-parens=avoid --print-width=140 --trailing-comma=none --write *.js */*.js */*.ts",
  23. "setup": "cd test/data && bash setup.sh",
  24. "test": "npm run test:js && npm run test:ts && npm run test:tsc",
  25. "test:js": "node ./test/test.js",
  26. "test:ts": "npx ts-node ./test/test.ts",
  27. "test:tsc": "tsc --noEmit ./test/test.ts"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/DanielJDufour/xml-utils.git"
  32. },
  33. "keywords": [
  34. "fast",
  35. "mrf",
  36. "xml",
  37. "tag",
  38. "lite",
  39. "utils",
  40. "parse"
  41. ],
  42. "author": "Daniel J. Dufour",
  43. "license": "CC0-1.0",
  44. "bugs": {
  45. "url": "https://github.com/DanielJDufour/xml-utils/issues"
  46. },
  47. "homepage": "https://github.com/DanielJDufour/xml-utils#readme",
  48. "devDependencies": {
  49. "flug": "^2.3.1",
  50. "typescript": "^4.7.4"
  51. }
  52. }