package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "fast-xml-parser",
  3. "version": "5.7.1",
  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. "publish-please": "publish-please",
  33. "prepublishOnly": "publish-please guard"
  34. },
  35. "bin": {
  36. "fxparser": "src/cli/cli.js"
  37. },
  38. "files": [
  39. "lib",
  40. "src",
  41. "CHANGELOG.md"
  42. ],
  43. "repository": {
  44. "type": "git",
  45. "url": "git+https://github.com/NaturalIntelligence/fast-xml-parser.git"
  46. },
  47. "keywords": [
  48. "fast",
  49. "xml",
  50. "json",
  51. "parser",
  52. "xml2js",
  53. "x2js",
  54. "xml2json",
  55. "js",
  56. "validator",
  57. "validate",
  58. "transformer",
  59. "assert",
  60. "js2xml",
  61. "json2xml",
  62. "html"
  63. ],
  64. "author": "Amit Gupta (https://solothought.com)",
  65. "license": "MIT",
  66. "devDependencies": {
  67. "@babel/core": "^7.13.10",
  68. "@babel/plugin-transform-runtime": "^7.13.10",
  69. "@babel/preset-env": "^7.13.10",
  70. "@babel/register": "^7.13.8",
  71. "@types/node": "20",
  72. "babel-loader": "^8.2.2",
  73. "c8": "^10.1.3",
  74. "eslint": "^8.3.0",
  75. "he": "^1.2.0",
  76. "jasmine": "^5.6.0",
  77. "prettier": "^3.5.1",
  78. "publish-please": "^5.5.2",
  79. "typescript": "5",
  80. "webpack": "^5.64.4",
  81. "webpack-cli": "^4.9.1"
  82. },
  83. "funding": [
  84. {
  85. "type": "github",
  86. "url": "https://github.com/sponsors/NaturalIntelligence"
  87. }
  88. ],
  89. "dependencies": {
  90. "@nodable/entities": "^2.1.0",
  91. "fast-xml-builder": "^1.1.5",
  92. "path-expression-matcher": "^1.5.0",
  93. "strnum": "^2.2.3"
  94. }
  95. }