package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "fast-xml-parser",
  3. "version": "5.2.5",
  4. "description": "Validate XML, Parse XML, Build XML without C/C++ based libraries",
  5. "main": "./lib/fxp.cjs",
  6. "type": "module",
  7. "sideEffects": false,
  8. "module": "./src/fxp.js",
  9. "types": "./src/fxp.d.ts",
  10. "exports": {
  11. ".": {
  12. "import": {
  13. "types": "./src/fxp.d.ts",
  14. "default": "./src/fxp.js"
  15. },
  16. "require": {
  17. "types": "./lib/fxp.d.cts",
  18. "default": "./lib/fxp.cjs"
  19. }
  20. }
  21. },
  22. "scripts": {
  23. "test": "c8 --reporter=lcov --reporter=text jasmine spec/*spec.js",
  24. "test-types": "tsc --noEmit spec/typings/typings-test.ts",
  25. "unit": "jasmine",
  26. "coverage": "nyc report --reporter html --reporter text -t .nyc_output --report-dir .nyc_output/summary",
  27. "perf": "node ./benchmark/perfTest3.js",
  28. "lint": "eslint src/**/*.js spec/**/*.js benchmark/**/*.js",
  29. "bundle": "webpack --config webpack.cjs.config.js",
  30. "prettier": "prettier --write src/**/*.js",
  31. "checkReadiness": "publish-please --dry-run"
  32. },
  33. "bin": {
  34. "fxparser": "./src/cli/cli.js"
  35. },
  36. "files": [
  37. "lib",
  38. "src",
  39. "CHANGELOG.md"
  40. ],
  41. "repository": {
  42. "type": "git",
  43. "url": "https://github.com/NaturalIntelligence/fast-xml-parser"
  44. },
  45. "keywords": [
  46. "fast",
  47. "xml",
  48. "json",
  49. "parser",
  50. "xml2js",
  51. "x2js",
  52. "xml2json",
  53. "js",
  54. "validator",
  55. "validate",
  56. "transformer",
  57. "assert",
  58. "js2xml",
  59. "json2xml",
  60. "html"
  61. ],
  62. "author": "Amit Gupta (https://solothought.com)",
  63. "license": "MIT",
  64. "devDependencies": {
  65. "@babel/core": "^7.13.10",
  66. "@babel/plugin-transform-runtime": "^7.13.10",
  67. "@babel/preset-env": "^7.13.10",
  68. "@babel/register": "^7.13.8",
  69. "@types/node": "20",
  70. "babel-loader": "^8.2.2",
  71. "c8": "^10.1.3",
  72. "eslint": "^8.3.0",
  73. "he": "^1.2.0",
  74. "jasmine": "^5.6.0",
  75. "prettier": "^3.5.1",
  76. "publish-please": "^5.5.2",
  77. "typescript": "5",
  78. "webpack": "^5.64.4",
  79. "webpack-cli": "^4.9.1"
  80. },
  81. "funding": [
  82. {
  83. "type": "github",
  84. "url": "https://github.com/sponsors/NaturalIntelligence"
  85. }
  86. ],
  87. "dependencies": {
  88. "strnum": "^2.1.0"
  89. }
  90. }