-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
164 lines (164 loc) · 5.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "raiden-ts",
"version": "2.1.0",
"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 && 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",
"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": "^27.5.1",
"@jest/reporters": "^27.5.1",
"@sastan/typedoc-plugin-pages": "^0.0.1",
"@typechain/ethers-v5": "^9.0.0",
"@types/isomorphic-fetch": "^0.0.35",
"@types/jest": "^27.4.0",
"@types/json-bigint": "^1.0.1",
"@types/lodash": "^4.14.178",
"@types/matrix-js-sdk": "^11.0.1",
"@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/tiny-async-pool": "^1.0.0",
"jest": "^27.5.1",
"jest-environment-node": "^27.5.1",
"jest-extended": "^2.0.0",
"jest-junit": "^13.0.0",
"pouchdb-adapter-memory": "^7.2.2",
"pouchdb-debug": "^7.2.1",
"rimraf": "^3.0.2",
"tiny-async-pool": "^1.2.0",
"ts-jest": "^27.1.3",
"typechain": "^7.0.0",
"typedoc": "0.21.9",
"typescript": "^4.5.5"
},
"dependencies": {
"@ethersproject/abi": "^5.5.0",
"@ethersproject/abstract-provider": "^5.5.1",
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/address": "^5.5.0",
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/constants": "^5.5.0",
"@ethersproject/contracts": "^5.5.0",
"@ethersproject/hash": "^5.5.0",
"@ethersproject/keccak256": "^5.5.0",
"@ethersproject/networks": "^5.5.2",
"@ethersproject/properties": "^5.5.0",
"@ethersproject/providers": "^5.5.3",
"@ethersproject/random": "^5.5.1",
"@ethersproject/rlp": "^5.5.0",
"@ethersproject/sha2": "^5.5.0",
"@ethersproject/signing-key": "^5.5.0",
"@ethersproject/strings": "^5.5.0",
"@ethersproject/transactions": "^5.5.0",
"@ethersproject/units": "^5.5.0",
"@ethersproject/wallet": "^5.5.0",
"abort-controller": "^3.0.0",
"decimal.js": "^10.3.1",
"eciesjs": "^0.3.13",
"ethers": "^5.5.4",
"fp-ts": "^2.11.8",
"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": "^15.5.0",
"pouchdb": "^7.2.2",
"pouchdb-find": "^7.2.2",
"redux": "^4.1.2",
"redux-devtools-extension": "^2.13.9",
"redux-logger": "^3.0.6",
"redux-observable": "^2.0.0",
"rxjs": "^7.5.4"
},
"optionalDependencies": {
"pouchdb-adapter-indexeddb": "^7.2.2",
"pouchdb-adapter-leveldb": "^7.2.2",
"wrtc": "^0.4.7"
},
"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"
}
}
}
}