Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

package.json 3.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "xrpl",
  3. "version": "2.7.0",
  4. "license": "ISC",
  5. "description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
  6. "files": [
  7. "dist/npm/*",
  8. "build/xrpl-latest-min.js",
  9. "build/xrpl-latest-min.js.map",
  10. "build/xrpl-latest.js",
  11. "build/xrpl-latest.js.map"
  12. ],
  13. "main": "dist/npm/",
  14. "unpkg": "build/xrpl-latest-min.js",
  15. "jsdelivr": "build/xrpl-latest-min.js",
  16. "types": "dist/npm/index.d.ts",
  17. "directories": {
  18. "test": "test"
  19. },
  20. "browser": {
  21. "ws": "./dist/npm/client/WSWrapper.js",
  22. "https-proxy-agent": false
  23. },
  24. "dependencies": {
  25. "bignumber.js": "^9.0.0",
  26. "bip32": "^2.0.6",
  27. "bip39": "^3.0.4",
  28. "https-proxy-agent": "^5.0.0",
  29. "lodash": "^4.17.4",
  30. "ripple-address-codec": "^4.2.5",
  31. "ripple-binary-codec": "^1.4.3",
  32. "ripple-keypairs": "^1.1.5",
  33. "ws": "^8.2.2"
  34. },
  35. "devDependencies": {
  36. "@geut/browser-node-core": "^2.0.13",
  37. "@types/node": "^14.18.36",
  38. "assert-browserify": "^2.0.0",
  39. "browserify-fs": "^1.0.0",
  40. "constants-browserify": "^1.0.0",
  41. "https-browserify": "^1.0.0",
  42. "karma": "^6.4.1",
  43. "karma-chrome-launcher": "^3.1.1",
  44. "karma-jasmine": "^5.1.0",
  45. "karma-webpack": "^5.0.0",
  46. "node-polyfill-webpack-plugin": "^2.0.1",
  47. "react": "^18.2.0",
  48. "typedoc": "^0.23.24"
  49. },
  50. "resolutions": {
  51. "elliptic": "^6.5.4"
  52. },
  53. "scripts": {
  54. "build": "run-s build:lib build:snippets build:web",
  55. "build:snippets": "tsc --build ./snippets/tsconfig.json",
  56. "build:lib": "tsc --build tsconfig.build.json",
  57. "build:web": "webpack",
  58. "build:browserTests": "webpack --config ./test/webpack.config.js",
  59. "analyze": "run-s build:web --analyze",
  60. "watch": "run-s build:lib --watch",
  61. "clean": "rm -rf dist build coverage",
  62. "docgen": "tsc --build tsconfig.docs.json && typedoc && echo js.xrpl.org >> ../../docs/CNAME",
  63. "prepublish": "run-s clean build",
  64. "test": "jest --verbose false --silent=false ./test/**/*.test.ts --testPathIgnorePatterns=./test/integration --testPathIgnorePatterns=./test/fixtures",
  65. "test:integration": "TS_NODE_PROJECT=tsconfig.build.json jest --verbose false --silent=false --runInBand ./test/integration/**/*.test.ts",
  66. "test:browser": "npm run build && npm run build:browserTests && karma start ./karma.config.js --single-run",
  67. "test:watch": "jest --watch --verbose false --silent=false --runInBand ./test/**/*.test.ts --testPathIgnorePatterns=./test/integration --testPathIgnorePatterns=./test/fixtures",
  68. "format": "prettier --write '{src,test}/**/*.ts'",
  69. "lint": "eslint . --ext .ts --max-warnings 0",
  70. "perf": "./scripts/perf_test.sh",
  71. "compile:snippets": "tsc -p snippets/tsconfig.json",
  72. "start:snippet": "npm run compile:snippets && node",
  73. "inspect:snippet": "npm run compile:snippets && node inspect"
  74. },
  75. "prettier": "@xrplf/prettier-config",
  76. "repository": {
  77. "type": "git",
  78. "url": "git@github.com:XRPLF/xrpl.js.git"
  79. },
  80. "readmeFilename": "README.md",
  81. "engines": {
  82. "node": ">=10.13.0"
  83. },
  84. "gitHead": "b3d3bc2f99c21336c32d234026ddff79f16e8194"
  85. }