forked from loomnetwork/loom-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.88 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
{
"name": "loom-js",
"description": "NodeJS & browser client for Loom DAppChains.",
"author": {
"name": "Loom Network",
"url": "https://loomx.io"
},
"version": "1.80.0",
"keywords": [
"blockchain",
"dappchain"
],
"license": "BSD-3-Clause",
"main": "dist/index.js",
"scripts": {
"prebuild": "yarn proto && yarn gen-contract-types",
"build": "tsc",
"build:browser": "tsc && webpack",
"build:dev": "tsc --project es2017.tsconfig.json",
"format": "prettier --write \"src/**/*.ts\"",
"test": "yarn test:node && yarn test:browser",
"test:node": "yarn build && tape dist/tests/unit_tests.js | tap-spec",
"test:browser": "yarn build && webpack --config webpack.unit.tests.config.js && cat ./dist/browser_unit_tests.js | tape-run",
"test:e2e:local": "bash e2e_tests.sh",
"e2e:node": "yarn build && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec",
"e2e:browser": "yarn build && webpack --config webpack.e2e.test.config.js",
"proto": "node ./scripts/gen-proto.js",
"prepublishOnly": "yarn build && webpack",
"gen-contract-types": "typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts && node scripts/export-mainnet-contracts-abi.js"
},
"dependencies": {
"abi-decoder": "^1.2.0",
"axios": "^0.18.0",
"bn.js": "^4.11.8",
"crypto-browserify": "^3.12.0",
"debug": "^3.1.0",
"ethereumjs-tx": "1.3.7",
"ethereumjs-util": "^5.2.0",
"ethers": "^4.0.9",
"google-protobuf": "3.6",
"lodash": "^4.17.11",
"retry": "^0.12.0",
"ripemd160": "^2.0.1",
"rlp": "^2.1.0",
"rpc-websockets": "^4.1.1",
"tronweb": "^2.5.3",
"tslib": "2.2.0",
"tweetnacl": "^1.0.0",
"web3": "1.3.6"
},
"devDependencies": {
"@babel/core": "7.14.2",
"@babel/plugin-proposal-object-rest-spread": "^7.14.2",
"@babel/plugin-transform-runtime": "7.14.2",
"@babel/preset-env": "7.14.2",
"@babel/runtime": "^7.14.0",
"@types/bn.js": "^4.11.1",
"@types/debug": "^0.0.30",
"@types/ethereumjs-util": "^5.2.0",
"@types/google-protobuf": "^3.2.7",
"@types/node": "^10.0.3",
"@types/retry": "^0.10.2",
"@types/shelljs": "^0.8.0",
"@types/tape": "^4.2.32",
"babel-cli": "^7.0.0-beta.3",
"babel-loader": "8.2.2",
"browser-run": "11.0.0",
"dotenv": "^5.0.1",
"dotenv-webpack": "^1.5.5",
"ganache-cli": "^6.12.2",
"prettier": "1.12.1",
"shelljs": "^0.8.2",
"tap-spec": "^5.0.0",
"tape": "4.9",
"tape-run": "^9.0.0",
"ts-protoc-gen": "^0.6.0",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.12.0",
"tslint-config-standard": "^7.0.0",
"typechain": "^0.3.21",
"typescript": "^2.9.2",
"webpack": "^4.6.0",
"webpack-cli": "^3.1.1",
"webpack-tape-run": "github:CryptozombiesHQ/webpack-tape-run"
},
"browserslist": "last 2 versions"
}