Files
xahau.js/packages/isomorphic/package.json
Chenna Keshava B S 3bc3c2029b feat: Upgrade to Node 18 and remove cross-fetch (#2678) (#2737)
* feat: Upgrade to Node 18 and remove cross-fetch (#2678)

BREAKING CHANGE: fetch now relies on the native javascript environment in browsers and node.js

Co-authored-by: justinr1234 <justinr1234@gmail.com>
2024-07-16 11:04:47 -07:00

49 lines
1.1 KiB
JSON

{
"name": "@xrplf/isomorphic",
"version": "1.0.1",
"description": "A collection of isomorphic and tree-shakeable crypto hashes and utils for xrpl.js",
"keywords": [
"crypto",
"isomorphic",
"xrpl"
],
"scripts": {
"build": "tsc --build ./tsconfig.build.json",
"test": "npm run build && jest --verbose false --silent=false ./test/*.test.ts",
"test:browser": "npm run build && karma start ./karma.config.js",
"clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo",
"lint": "eslint . --ext .ts",
"prepublish": "npm run lint && npm test"
},
"files": [
"dist/*",
"sha256/*",
"sha512/*",
"ripemd160/*",
"src/*",
"utils/*",
"ws/*"
],
"directories": {
"test": "test"
},
"dependencies": {
"@noble/hashes": "^1.0.0",
"eventemitter3": "5.0.1",
"ws": "^8.13.0"
},
"devDependencies": {
"@types/node": "^18.18.38",
"@types/ws": "^8.5.6"
},
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
},
"license": "ISC",
"prettier": "@xrplf/prettier-config",
"engines": {
"node": ">=18.0.0"
}
}