raiden-ts
Version:
Raiden Light Client Typescript/Javascript SDK
163 lines (162 loc) • 5.32 kB
JSON
{
"name": "raiden-ts",
"version": "3.1.1",
"description": "Raiden Light Client Typescript/Javascript SDK",
"main": "dist:cjs/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "yarn run versions && yarn run contracts",
"build": "yarn clean:build && yarn prepare && tsc -p ./tsconfig.esm.json && tsc -p ./tsconfig.cjs.json && yarn run contracts:post",
"test": "yarn lint && NODE_ENV=development jest --coverage --testPathIgnorePatterns tests/e2e",
"test:unit": "NODE_ENV=development jest --coverage tests/unit",
"test:integration": "NODE_ENV=development jest --coverage tests/integration",
"test:e2e": "NODE_ENV=development jest --coverage tests/e2e",
"test:e2e:docker": "bash ../e2e-environment/run-e2e-tests.sh",
"lint": "eslint --max-warnings 0 --ext '.ts' .",
"clean:build": "rimraf dist/ dist:cjs/",
"clean:rest": "rimraf .coverage/ src/contracts/ src/abi/ src/deployment/ src/versions.json docs/",
"clean": "yarn clean:build && yarn clean:rest",
"contracts:pre": "node ./scripts/copyContracts.js prebuild",
"contracts:build": "typechain --target=ethers-v5 'src/abi/*.json' --out-dir src/contracts",
"contracts:post": "node ./scripts/copyContracts.js postbuild",
"contracts": "yarn run contracts:pre && yarn run contracts:build",
"versions": "node ./scripts/versions.js",
"docs": "typedoc --tsconfig ./tsconfig.esm.json",
"prepack": "yarn clean:rest && yarn build && yarn run docs",
"update-submodules": "git submodule sync && git submodule update --init"
},
"repository": {
"type": "git",
"url": "git+https://github.com/raiden-network/light-client.git"
},
"keywords": [
"raiden",
"ethereum",
"blockchain",
"2ndlayer",
"scaling",
"payments",
"transfers",
"web3"
],
"author": "brainbot labs est.",
"license": "MIT",
"bugs": {
"url": "https://github.com/raiden-network/light-client/issues"
},
"homepage": "https://github.com/raiden-network/light-client#readme",
"devDependencies": {
"@jest/console": "^28.1.3",
"@jest/reporters": "^28.1.3",
"@sastan/typedoc-plugin-pages": "^0.0.1",
"@sinonjs/fake-timers": "^9.1.2",
"@typechain/ethers-v5": "^10.1.0",
"@types/isomorphic-fetch": "^0.0.36",
"@types/jest": "^28.1.6",
"@types/json-bigint": "^1.0.1",
"@types/lodash": "^4.14.182",
"@types/pouchdb": "^6.4.0",
"@types/pouchdb-adapter-leveldb": "^6.1.3",
"@types/pouchdb-adapter-memory": "^6.1.3",
"@types/pouchdb-find": "^6.3.7",
"@types/redux-logger": "^3.0.9",
"@types/request": "^2.48.8",
"jest": "^28.1.3",
"jest-environment-node": "^28.1.3",
"jest-extended": "^2.0.0",
"jest-junit": "^14.0.0",
"pouchdb-adapter-memory": "^7.3.0",
"pouchdb-debug": "^7.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.7",
"typechain": "^8.1.0",
"typedoc": "0.21.9",
"typescript": "^4.7.4"
},
"dependencies": {
"@ethersproject/abi": "^5.6.4",
"@ethersproject/abstract-provider": "^5.6.1",
"@ethersproject/abstract-signer": "^5.6.2",
"@ethersproject/address": "^5.6.1",
"@ethersproject/bignumber": "^5.6.2",
"@ethersproject/bytes": "^5.6.1",
"@ethersproject/constants": "^5.6.1",
"@ethersproject/contracts": "^5.6.2",
"@ethersproject/hash": "^5.6.1",
"@ethersproject/keccak256": "^5.6.1",
"@ethersproject/networks": "^5.6.4",
"@ethersproject/properties": "^5.6.0",
"@ethersproject/providers": "^5.6.8",
"@ethersproject/random": "^5.6.1",
"@ethersproject/rlp": "^5.6.1",
"@ethersproject/sha2": "^5.6.1",
"@ethersproject/signing-key": "^5.6.2",
"@ethersproject/strings": "^5.6.1",
"@ethersproject/transactions": "^5.6.2",
"@ethersproject/units": "^5.6.1",
"@ethersproject/wallet": "^5.6.2",
"abort-controller": "^3.0.0",
"decimal.js": "^10.3.1",
"eciesjs": "^0.3.15",
"fp-ts": "^2.12.2",
"io-ts": "^2.2.16",
"isomorphic-fetch": "^3.0.0",
"json-bigint": "^1.0.0",
"json-canonicalize": "^1.0.4",
"lodash": "^4.17.21",
"loglevel": "^1.8.0",
"matrix-js-sdk": "^19.1.0",
"pouchdb": "^7.3.0",
"pouchdb-find": "^7.3.0",
"redux": "^4.2.0",
"redux-devtools-extension": "^2.13.9",
"redux-logger": "^3.0.6",
"redux-observable": "^2.0.0",
"rxjs": "^7.5.6"
},
"optionalDependencies": {
"@koush/wrtc": "^0.5.3",
"pouchdb-adapter-indexeddb": "^7.3.0",
"pouchdb-adapter-leveldb": "^7.3.0"
},
"files": [
"/dist",
"/dist:cjs",
"/docs"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "./tests/logenv.ts",
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"testMatch": [
"<rootDir>/tests/**/*.spec.ts"
],
"setupFiles": [
"<rootDir>/tests/setup.ts"
],
"setupFilesAfterEnv": [
"jest-extended/all",
"<rootDir>/tests/setupAfter.ts"
],
"verbose": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!**/*.d.ts",
"!**/index.ts",
"!src/contracts/**"
],
"coverageDirectory": ".coverage",
"reporters": [
"default",
"jest-junit"
],
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/tests/tsconfig.json"
}
}
}
}