Docs: Snippets (#1729)

* refactor: adds snippets for sendEscrow, claimPayChannel, reliableSubmission, getTransaction, partialPayment, getPaths
This commit is contained in:
Mukul Jangid
2021-10-20 12:29:48 -04:00
committed by GitHub
parent d1b34bb458
commit 910a5999c9
17 changed files with 461 additions and 358 deletions

View File

@@ -97,8 +97,8 @@
"lint": "eslint . --ext .ts --max-warnings 0",
"perf": "./scripts/perf_test.sh",
"compile:snippets": "tsc -p snippets/tsconfig.json",
"start:snippet": "npm run compile:snippets && node ./snippets/dist/start.js",
"inspect:snippet": "npm run compile:snippets && node inspect ./snippets/dist/start.js"
"start:snippet": "npm run compile:snippets && node",
"inspect:snippet": "npm run compile:snippets && node inspect"
},
"prettier": "@xrplf/prettier-config",
"repository": {