-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
156 lines (156 loc) · 6.37 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
{
"name": "@findora-network/findora-sdk.js",
"version": "1.3.0",
"description": "The JavaScript SDK for Findora Network",
"license": "ISC",
"author": "Findora Network",
"keywords": [
"crypto",
"blockchain",
"smart-contracts"
],
"repository": {
"type": "git",
"url": "git://github.com/FindoraNetwork/findora-sdk"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=12"
},
"scripts": {
"buildAll": "tsc && webpack --mode production",
"build": "tsc",
"test:sdk:integration": "jest --forceExit --detectOpenHandles sdk.integration.spec.ts",
"test:evm:integration:contract": "jest --detectOpenHandles contract",
"test:evm:integration:rpc:watch": "jest --detectOpenHandles --watch -t 'rpc test' rpc.integration.spec.ts ",
"test:evm:integration:rpc:negative": "jest --detectOpenHandles --watch -t 'rpc test' rpc.integration.negative.spec.ts ",
"test:evm:integration:rpc:no_tx": "jest --detectOpenHandles --watch -t 'rpc test' rpc.integration.no_tx.spec.ts ",
"test:evm:integration:rpc:all": "jest --detectOpenHandles rpc.integration ",
"test:evm:integration:all": "jest --forceExit --detectOpenHandles rpc.integration contract ",
"test:tm:integration": "jest --forceExit --detectOpenHandles tripleMasking.integration.spec.ts",
"test": "jest --watch --detectOpenHandles",
"test:sdk:unit": "jest -t '(unit test)' --testPathIgnorePatterns=\\contract\\|integration",
"test:sdk:integration:local": "INTEGRATION_ENV_NAME=local yarn test:sdk:integration",
"test:sdk:integration:mocknet": "INTEGRATION_ENV_NAME=mocknet yarn test:sdk:integration",
"test:evm:integration:contract:devnet": "RPC_ENV_NAME=dev yarn test:evm:integration:contract",
"test:evm:integration:rpc:local": "RPC_ENV_NAME=local yarn test:evm:integration:rpc:all",
"test:evm:integration:rpc:devnet": "RPC_ENV_NAME=dev yarn test:evm:integration:rpc:all ",
"test:evm:integration:rpc:negative:devnet": "RPC_ENV_NAME=dev yarn test:evm:integration:rpc:negative",
"test:evm:integration:rpc:negative:mocknet": "RPC_ENV_NAME=mocknet yarn test:evm:integration:rpc:negative",
"test:evm:integration:rpc:negative:rinkeby": "RPC_ENV_NAME=rinkeby yarn test:evm:integration:rpc:negative",
"test:evm:integration:rpc:negative:moonbeam": "RPC_ENV_NAME=moonbeam yarn test:evm:integration:rpc:negative",
"test:evm:integration:rpc:no_tx:local": "RPC_ENV_NAME=local yarn test:evm:integration:rpc:no_tx",
"test:evm:integration:rpc:no_tx:devnet": "RPC_ENV_NAME=dev yarn test:evm:integration:rpc:no_tx",
"test:evm:integration:rpc:no_tx:mocknet": "RPC_ENV_NAME=mocknet yarn test:evm:integration:rpc:no_tx",
"test:evm:integration:all:devnet": "RPC_ENV_NAME=dev yarn test:evm:integration:all",
"test:evm:integration:all:local": "RPC_ENV_NAME=local yarn test:evm:integration:all",
"test:tm:integration:testnet": "INTEGRATION_ENV_NAME=testnet yarn test:tm:integration",
"test:tm:integration:local": "INTEGRATION_ENV_NAME=local yarn test:tm:integration",
"test:integration": " yarn test:sdk:integration:local && yarn test:evm:integration:all:local",
"prettier": "prettier --write ./src/**/*.ts",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"doc": "typedoc --out docs src",
"prepublishOnly": "npm run build",
"start:build": "tsc -w ",
"start:run": "nodemon dist/run.js --ignore cache/",
"start:once": "yarn cli:build; yarn start:run:once",
"start:run:once": "node dist/run.js ",
"start-b:build": "tsc -w ",
"start-b:run": "nodemon dist/run-balance.js --ignore cache/",
"cli:build": "tsc",
"cli:run": "node dist/cli/cli.js \"$npm_config\"",
"jest-coverage": "yarn run jest -- --coverage",
"start": "concurrently npm:start:*",
"start-b": "concurrently npm:start-b:*",
"cli": "yarn cli:build && yarn cli:run \"$npm_config\"",
"update-wasm": "yarn upgrade findora-wallet-wasm",
"web3-token-abi": "node ./web3TokenAbi.js"
},
"lint-staged": {
"./src/**/*.ts": [
"prettier --write",
"eslint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "yarn"
}
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/user-event": "^13.1.5",
"@types/ethereumjs-abi": "^0.6.3",
"@types/jest": "^26.0.14",
"@types/json-bigint": "^1.0.0",
"@types/lodash": "^4.14.170",
"@types/minimist": "^1.2.2",
"@types/node": "^14.14.17",
"@types/readable-stream": "^2.3.9",
"@types/tmp": "^0.2.0",
"@types/ws": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^5.37.0",
"buffer": "^6.0.3",
"concurrently": "^6.0.1",
"eslint": "^7.5",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-simple-import-sort": "^5.0.1",
"ganache-cli": "6.12.2",
"husky": "^4.3.6",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"msw": "^0.48.2",
"nodemon": "^2.0.7",
"path-browserify": "^1.0.1",
"prettier": "^2.2.1",
"solc": "0.4.26",
"stream-browserify": "^3.0.0",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.13",
"ts-node": "^9.1.1",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typedoc": "^0.21.9",
"typescript": "^4.1.5",
"typescript-json-schema": "^0.50.1",
"webpack": "^5.11.1",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-cli": "^4.3.0"
},
"dependencies": {
"@ensdomains/eth-ens-namehash": "^2.0.15",
"@types/btoa": "^1.2.3",
"@types/web3-provider-engine": "^14.0.1",
"axios": "^0.21.1",
"axios-retry": "^3.1.9",
"bech32-buffer": "^0.2.0",
"bignumber.js": "^9.0.1",
"dotenv": "^10.0.0",
"env": "^0.0.2",
"ethereum-abi-types-generator": "^1.3.2",
"ethereum-protocol": "^1.0.1",
"ethereumjs-abi": "^0.6.8",
"ethereumjs-util": "^7.1.5",
"ethers": "^5.6.9",
"findora-wallet-wasm": "https://github.com/FindoraNetwork/wasm-js-bindings.git#feat-triple-masking-v5",
"js-base64": "^3.6.1",
"json-bigint": "^1.0.0",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"neat-csv": "^6.0.1",
"os-browserify": "^0.3.0",
"sleep-promise": "^9.1.0",
"truffle-hdwallet-provider": "^1.0.17",
"url-safe-base64": "^1.2.0",
"util": "^0.12.4",
"web3": "^1.7.4",
"web3-eth-contract": "^1.7.4"
}
}