mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 04:55:48 +00:00
88 lines
2.8 KiB
JSON
88 lines
2.8 KiB
JSON
{
|
|
"name": "xahau",
|
|
"version": "4.0.1",
|
|
"license": "ISC",
|
|
"description": "A TypeScript/JavaScript API for interacting with the XAH Ledger in Node.js and the browser",
|
|
"files": [
|
|
"build/xahau-latest-min.js",
|
|
"build/xahau-latest-min.js.map",
|
|
"build/xahau-latest.js",
|
|
"build/xahau-latest.js.map",
|
|
"dist/npm/*",
|
|
"src/*"
|
|
],
|
|
"main": "dist/npm/",
|
|
"unpkg": "build/xahau-latest-min.js",
|
|
"jsdelivr": "build/xahau-latest-min.js",
|
|
"types": "dist/npm/index.d.ts",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"browser": {
|
|
"ws": "./dist/npm/client/WSWrapper.js"
|
|
},
|
|
"dependencies": {
|
|
"@scure/bip32": "^1.3.1",
|
|
"@scure/bip39": "^1.2.1",
|
|
"@xrplf/isomorphic": "^1.0.1",
|
|
"@xrplf/secret-numbers": "^1.0.0",
|
|
"bignumber.js": "^9.0.0",
|
|
"eventemitter3": "^5.0.1",
|
|
"xahau-address-codec": "^5.0.0",
|
|
"xahau-binary-codec": "^2.1.1",
|
|
"xahau-keypairs": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.18.38",
|
|
"eventemitter3": "^5.0.1",
|
|
"https-proxy-agent": "^7.0.1",
|
|
"karma": "^6.4.1",
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
"karma-jasmine": "^5.1.0",
|
|
"karma-webpack": "^5.0.0",
|
|
"lodash": "^4.17.4",
|
|
"react": "^18.2.0",
|
|
"run-s": "^0.0.0",
|
|
"typedoc": "0.26.10",
|
|
"ws": "^8.14.2"
|
|
},
|
|
"resolutions": {
|
|
"elliptic": "^6.5.4"
|
|
},
|
|
"scripts": {
|
|
"build": "run-s build:lib build:web",
|
|
"build:lib": "tsc --build tsconfig.build.json",
|
|
"build:web": "webpack",
|
|
"build:browserTests": "webpack --config ./test/webpack.config.js",
|
|
"analyze": "webpack --analyze",
|
|
"watch": "run-s build:lib --watch",
|
|
"clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo",
|
|
"docgen": "tsc --build tsconfig.docs.json && typedoc && echo js.xahau.org >> ../../docs/CNAME",
|
|
"prepare": "copyfiles ../../README.md xahau/README.md",
|
|
"prepublish": "run-s clean build",
|
|
"test": "jest --config=jest.config.unit.js --verbose false --silent=false",
|
|
"test:integration": "TS_NODE_PROJECT=tsconfig.build.json jest --config=jest.config.integration.js --verbose false --silent=false --runInBand",
|
|
"test:browser": "npm run build && npm run build:browserTests && karma start ./karma.config.js",
|
|
"test:watch": "jest --watch --verbose false --silent=false --runInBand ./test/**/*.test.ts --testPathIgnorePatterns=./test/integration --testPathIgnorePatterns=./test/fixtures",
|
|
"format": "prettier --write '{src,test}/**/*.ts'",
|
|
"lint": "eslint . --ext .ts --max-warnings 0",
|
|
"perf": "./scripts/perf_test.sh"
|
|
},
|
|
"prettier": "@xrplf/prettier-config",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:Xahau/xahau.js.git"
|
|
},
|
|
"readmeFilename": "README.md",
|
|
"keywords": [
|
|
"xahau-lib",
|
|
"xahau",
|
|
"xah",
|
|
"xahau ledger",
|
|
"xahau"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|