Files
xahau.js/packages/secret-numbers/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

48 lines
1.4 KiB
JSON

{
"name": "@xrplf/secret-numbers",
"version": "1.0.0",
"description": "Generate XRPL Accounts with a number-based secret: 8 chunks of 6 digits",
"main": "dist/index.js",
"unpkg": "build/xrplf-secret-numbers-latest-min.js",
"jsdelivr": "build/xrplf-secret-numbers-latest-min.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublish": "npm run clean && npm run lint && npm run test && npm run test:browser && npm run build",
"clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo",
"test": "jest --verbose",
"test:browser": "npm run build && npm run build:browserTests && karma start ./karma.config.js",
"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",
"lint": "eslint . --ext .ts --ext .test.ts --fix",
"analyze": "webpack --analyze"
},
"files": [
"build/*",
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"src/*"
],
"directories": {
"test": "test"
},
"dependencies": {
"brorand": "^1.1.0",
"ripple-keypairs": "^1.3.0"
},
"repository": {
"type": "git",
"url": "git@github.com:XRPLF/xrpl.js.git"
},
"license": "ISC",
"readmeFilename": "README.md",
"keywords": [
"xrp",
"xrpl-ledger",
"multi sign",
"sign"
]
}