package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "js2xmlparser",
  3. "version": "4.0.2",
  4. "description": "Parses JavaScript objects into XML",
  5. "keywords": [
  6. "convert",
  7. "converter",
  8. "javascript",
  9. "js",
  10. "json",
  11. "object",
  12. "objects",
  13. "parse",
  14. "parser",
  15. "xml"
  16. ],
  17. "license": "Apache-2.0",
  18. "author": {
  19. "name": "Michael Kourlas",
  20. "email": "michael@kourlas.com"
  21. },
  22. "files": [
  23. "lib",
  24. "CHANGES.md",
  25. "LICENSE",
  26. "NOTICE",
  27. "package.json",
  28. "README.md"
  29. ],
  30. "main": "./lib/main.js",
  31. "typings": "./lib/main",
  32. "repository": {
  33. "type": "git",
  34. "url": "git://github.com/michaelkourlas/node-js2xmlparser.git"
  35. },
  36. "scripts": {
  37. "build": "npm run-script prod && npm run-script test-prod && npm run-script docs",
  38. "clean": "rimraf lib",
  39. "clean-docs": "rimraf docs",
  40. "clean-test": "rimraf test/lib",
  41. "dev": "npm run-script clean && npm run-script format && npm run-script lint && tsc -p tsconfig.json --sourceMap",
  42. "docs": "npm run-script clean-docs && typedoc --out docs --excludePrivate src/main.ts",
  43. "format": "prettier --write .",
  44. "lint": "eslint . --ext .ts",
  45. "prod": "npm run-script clean && npm run-script format && npm run-script lint && tsc -p tsconfig.json",
  46. "test-dev": "npm run-script clean-test && tsc -p test/tsconfig.json --sourceMap && mocha --recursive test/lib",
  47. "test-prod": "npm run-script clean-test && tsc -p test/tsconfig.json && mocha --recursive test/lib"
  48. },
  49. "dependencies": {
  50. "xmlcreate": "^2.0.4"
  51. },
  52. "devDependencies": {
  53. "@types/chai": "^4.2.22",
  54. "@types/mocha": "^9.0.0",
  55. "@typescript-eslint/eslint-plugin": "^5.2.0",
  56. "@typescript-eslint/parser": "^5.2.0",
  57. "chai": "^4.3.4",
  58. "eslint": "^8.1.0",
  59. "mocha": "^9.1.3",
  60. "prettier": "^2.4.1",
  61. "rimraf": "^3.0.2",
  62. "typedoc": "^0.22.7",
  63. "typescript": "^4.4.4"
  64. }
  65. }