Files
xahau.js/packages/ripple-address-codec/package.json
Caleb Kniffen c143dc3e99 test: run address-codec tests in the browser (#2466)
Update tests to use jasmine compatible functions.

This means changing `test` to `it`, `toStrictEqual` to `toEqual` (which
is still strict), `toThrowError` to `toError`, and updating the param
for toError to pass an `Error` object.

Remove the need to specify --single-run.
2024-02-01 13:45:11 -06:00

40 lines
977 B
JSON

{
"name": "ripple-address-codec",
"version": "4.3.1",
"description": "encodes/decodes base58 encoded XRP Ledger identifiers",
"files": [
"dist/*",
"src/*"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "ISC",
"dependencies": {
"base-x": "^3.0.9",
"create-hash": "^1.1.2"
},
"keywords": [
"ripple",
"xrp",
"xrp ledger",
"xrpl"
],
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
},
"prepublish": "tsc -b",
"prepublishOnly": "tslint -b ./ && jest",
"scripts": {
"build": "tsc --build tsconfig.build.json",
"test": "jest --verbose false --silent=false ./test/*.test.ts",
"test:browser": "npm run build && karma start ./karma.config.js",
"lint": "eslint . --ext .ts",
"clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo"
},
"prettier": "@xrplf/prettier-config",
"engines": {
"node": ">= 16"
}
}