mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 13:05:49 +00:00
Switch to using fetch for browser and `node-fetch` for node for the faucet calls. This reduces the webpack bundle by 3.2% or 16.5kb gzipped. The fundWallet code has been refactored to be much more straight forward due to not having to do such low level operations. This improves the frontend setup process by no longer requiring several polyfills such as `url`, `stream-http`, and `https-browserify`.
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "xrpl.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"analyze": "lerna run analyze --stream",
|
|
"test": "lerna run test --stream",
|
|
"test:browser": "lerna run test:browser --stream",
|
|
"test:integration": "lerna run test:integration --stream",
|
|
"lint": "lerna run lint --stream",
|
|
"clean": "lerna run clean --stream",
|
|
"build": "lerna run build --stream",
|
|
"docgen": "lerna run docgen --stream",
|
|
"update:check": "npx npm-check-updates --configFileName .ncurc.json",
|
|
"update:confirm": "npx npm-check-updates --configFileName .ncurc.json -u"
|
|
},
|
|
"dependencies": {
|
|
"ripple-address-codec": "file:packages/ripple-address-codec",
|
|
"ripple-binary-codec": "file:packages/ripple-binary-codec",
|
|
"ripple-keypairs": "file:packages/ripple-keypairs",
|
|
"xrpl": "file:packages/xrpl"
|
|
},
|
|
"devDependencies": {
|
|
"@types/brorand": "^1.0.30",
|
|
"@types/chai": "^4.2.21",
|
|
"@types/create-hash": "^1.2.2",
|
|
"@types/jest": "^29.2.2",
|
|
"@types/lodash": "^4.14.136",
|
|
"@types/node": "^14.18.35",
|
|
"@types/ws": "^8.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
|
"@typescript-eslint/parser": "^5.28.0",
|
|
"@xrplf/eslint-config": "^1.9.1",
|
|
"@xrplf/prettier-config": "^1.9.1",
|
|
"assert": "^2.0.0",
|
|
"buffer": "^6.0.2",
|
|
"chai": "^4.3.4",
|
|
"copyfiles": "^2.4.1",
|
|
"crypto-browserify": "^3.12.0",
|
|
"ejs": "^3.0.1",
|
|
"eslint": "^8.18.0",
|
|
"eslint-plugin-array-func": "^3.1.7",
|
|
"eslint-plugin-consistent-default-export-name": "^0.0.15",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsdoc": "^39.3.3",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-tsdoc": "^0.2.16",
|
|
"eventemitter2": "^6.0.0",
|
|
"expect": "^29.3.1",
|
|
"jest": "^29.3.1",
|
|
"jest-mock": "^29.3.1",
|
|
"lerna": "^4.0.0",
|
|
"lodash": "^4.17.21",
|
|
"npm-run-all": "^4.1.5",
|
|
"path-browserify": "1.0.1",
|
|
"prettier": "^2.3.2",
|
|
"process": "^0.11.10",
|
|
"source-map-loader": "^5.0.0",
|
|
"source-map-support": "^0.5.16",
|
|
"stream-browserify": "^3.0.0",
|
|
"ts-jest": "^29.0.3",
|
|
"ts-loader": "^9.2.5",
|
|
"ts-node": "^10.2.1",
|
|
"typescript": "^5.1.6",
|
|
"webpack": "^5.81.0",
|
|
"webpack-bundle-analyzer": "^4.1.0",
|
|
"webpack-cli": "^5.0.1"
|
|
},
|
|
"workspaces": [
|
|
"./packages/*"
|
|
],
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=7.10.0 < 10.0.0"
|
|
}
|
|
}
|