package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "fast-xml-builder",
  3. "version": "1.1.5",
  4. "description": "Build XML from JSON without C/C++ based libraries",
  5. "main": "./lib/fxb.cjs",
  6. "type": "module",
  7. "sideEffects": false,
  8. "module": "./src/fxb.js",
  9. "types": "./src/fxb.d.ts",
  10. "exports": {
  11. ".": {
  12. "import": {
  13. "types": "./src/fxb.d.ts",
  14. "default": "./src/fxb.js"
  15. },
  16. "require": {
  17. "types": "./lib/fxb.d.cts",
  18. "default": "./lib/fxb.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. "lint": "eslint src/**/*.js spec/**/*.js benchmark/**/*.js",
  27. "bundle": "webpack --config webpack.cjs.config.js",
  28. "prettier": "prettier --write src/**/*.js",
  29. "checkReadiness": "publish-please --dry-run",
  30. "publish-please": "publish-please",
  31. "prepublishOnly": "publish-please guard"
  32. },
  33. "files": [
  34. "lib",
  35. "src",
  36. "CHANGELOG.md"
  37. ],
  38. "repository": {
  39. "type": "git",
  40. "url": "git+https://github.com/NaturalIntelligence/fast-xml-builder.git"
  41. },
  42. "keywords": [
  43. "xml",
  44. "json",
  45. "fast",
  46. "builder",
  47. "parser",
  48. "js2xml",
  49. "json2xml"
  50. ],
  51. "author": "Amit Gupta (https://solothought.com)",
  52. "license": "MIT",
  53. "devDependencies": {
  54. "@babel/core": "^7.13.10",
  55. "@babel/plugin-transform-runtime": "^7.13.10",
  56. "@babel/preset-env": "^7.13.10",
  57. "@babel/register": "^7.13.8",
  58. "@types/node": "20",
  59. "babel-loader": "^8.2.2",
  60. "c8": "^10.1.3",
  61. "eslint": "^8.3.0",
  62. "fast-xml-parser": "^5.3.9",
  63. "he": "^1.2.0",
  64. "jasmine": "^5.6.0",
  65. "prettier": "^3.5.1",
  66. "publish-please": "^5.5.2",
  67. "typescript": "5",
  68. "webpack": "^5.64.4",
  69. "webpack-cli": "^4.9.1"
  70. },
  71. "funding": [
  72. {
  73. "type": "github",
  74. "url": "https://github.com/sponsors/NaturalIntelligence"
  75. }
  76. ],
  77. "dependencies": {
  78. "path-expression-matcher": "^1.1.3"
  79. }
  80. }