-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.16 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 3.16 KB
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
{
"name": "loom-js",
"description": "NodeJS & browser client for Loom DAppChains.",
"author": {
"name": "Loom Network",
"url": "https://loomx.io"
},
"version": "1.70.0",
"keywords": [
"blockchain",
"dappchain"
],
"license": "BSD-3-Clause",
"main": "dist/index.js",
"scripts": {
"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 proto && yarn gen-contract-types && tsc && tape dist/tests/unit_tests.js | tap-spec",
"test:browser": "yarn proto && yarn abi && tsc && webpack --config webpack.unit.tests.config.js && yarn run-puppeteer ./dist/browser_unit_tests.js | tap-spec",
"test:e2e:local": "bash e2e_tests.sh",
"e2e:node": "yarn proto && yarn gen-contract-types && tsc && tape -r dotenv/config dotenv_config_path=./.env.test dist/tests/e2e_tests.js | tap-spec",
"e2e:browser": "yarn proto && yarn gen-contract-types && tsc && webpack --config webpack.e2e.test.config.js | tap-spec",
"proto": "node ./scripts/gen-proto.js",
"abi": "node ./scripts/abi.js && bash ./scripts/fix_types.sh",
"run-puppeteer": "node ./scripts/run-puppeteer.js",
"copy-contracts": "node ./scripts/copy-contracts.js",
"prepublish": "yarn proto && yarn gen-contract-types && yarn build && webpack",
"gen-contract-types": "typechain \"src/mainnet-contracts/*.json\" --target=ethers --outDir src/mainnet-contracts"
},
"dependencies": {
"@binance-chain/javascript-sdk": "^2.14.5",
"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": "^1.9.3",
"tweetnacl": "^1.0.0",
"web3": "1.2.1"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.46",
"@babel/plugin-transform-runtime": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"@babel/runtime": "^7.0.0-beta.46",
"@types/bn.js": "^4.11.1",
"@types/debug": "^0.0.30",
"@types/ethereumjs-tx": "^1.0.0",
"@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",
"@types/web3": "^1.0.19",
"babel-cli": "^6.26.0",
"babel-loader": "^8.0.0-beta.2",
"dotenv": "^5.0.1",
"dotenv-webpack": "^1.5.5",
"ganache-cli": "^6.1.8",
"prettier": "1.12.1",
"puppeteer": "^1.20.0",
"shelljs": "^0.8.2",
"tap-spec": "^5.0.0",
"tape": "4.9",
"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": "^0.0.7"
},
"browserslist": "last 2 versions"
}