mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 04:55:48 +00:00
68 lines
2.3 KiB
JSON
68 lines
2.3 KiB
JSON
{
|
|
"name": "xrpl",
|
|
"version": "2.0.1",
|
|
"license": "ISC",
|
|
"description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
|
|
"files": [
|
|
"dist/npm/*",
|
|
"build/xrpl-latest-min.js",
|
|
"build/xrpl-latest.js"
|
|
],
|
|
"main": "dist/npm/",
|
|
"unpkg": "build/xrpl-latest-min.js",
|
|
"jsdelivr": "build/xrpl-latest-min.js",
|
|
"types": "dist/npm/index.d.ts",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"browser": {
|
|
"ws": "./dist/npm/client/WSWrapper.js"
|
|
},
|
|
"dependencies": {
|
|
"bignumber.js": "^9.0.0",
|
|
"bip32": "^2.0.6",
|
|
"bip39": "^3.0.4",
|
|
"https-proxy-agent": "^5.0.0",
|
|
"lodash": "^4.17.4",
|
|
"ripple-address-codec": "^4.1.1",
|
|
"ripple-binary-codec": "^1.1.3",
|
|
"ripple-keypairs": "^1.0.3",
|
|
"ws": "^8.2.2"
|
|
},
|
|
"resolutions": {
|
|
"elliptic": "^6.5.4"
|
|
},
|
|
"scripts": {
|
|
"build": "run-s build:lib build:snippets build:web",
|
|
"build:snippets": "tsc --build ./snippets/tsconfig.json",
|
|
"build:lib": "tsc --build tsconfig.build.json",
|
|
"build:web": "webpack",
|
|
"build:browserTests": "webpack --config ./test/webpack.config.js",
|
|
"analyze": "run-s build:web --analyze",
|
|
"watch": "run-s build:lib --watch",
|
|
"clean": "rm -rf dist",
|
|
"docgen": "typedoc && echo js.xrpl.org >> ./docs/CNAME",
|
|
"prepublish": "run-s clean build",
|
|
"test": "nyc mocha --config=test/.mocharc.json --exit",
|
|
"test:integration": "TS_NODE_PROJECT=tsconfig.build.json nyc mocha ./test/integration/**/*.ts ./test/integration/*.ts",
|
|
"test:browser": "npm run build:browserTests && TS_NODE_PROJECT=tsconfig.build.json nyc mocha ./test/browser/*.ts",
|
|
"test:watch": "TS_NODE_PROJECT=src/tsconfig.json mocha --config=test/.mocharc.json --watch --reporter dot",
|
|
"format": "prettier --write '{src,test}/**/*.ts'",
|
|
"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",
|
|
"inspect:snippet": "npm run compile:snippets && node inspect"
|
|
},
|
|
"prettier": "@xrplf/prettier-config",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:XRPLF/xrpl.js.git"
|
|
},
|
|
"readmeFilename": "README.md",
|
|
"engines": {
|
|
"node": ">=10.13.0",
|
|
"npm": ">=7.14.0 <8.0.0"
|
|
}
|
|
}
|