-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
104 lines (104 loc) · 2.9 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
{
"name": "bttcjs",
"version": "1.0.1",
"description": "Javascript developer library for interacting with Bttc Network",
"main": "dist/npm.export.js",
"types": "dist/ts/index.d.ts",
"browser": "dist/bttc.umd.js",
"react-native": "dist/bttc.node.js",
"files": [
"lib",
"dist",
"artifacts",
"types"
],
"scripts": {
"clean": "rimraf lib dist",
"build": "npm run build:dev",
"build:link": "npm run build && npm link",
"build:webpack": "npm run lint && webpack",
"build:pack": "npm run build:dev && npm pack",
"build:dev": "cross-env NODE_ENV=development npm run build:webpack",
"build:prod": "cross-env NODE_ENV=production npm run build:webpack",
"deploy": "npm run build:dev && npm run build:prod",
"prepublishOnly": "npm run deploy",
"lint": "eslint --ext .ts src",
"lint:fix": "eslint --ext .ts src --fix",
"test": "npm run build:pack && cd test && npm run install:lib:test",
"debug": "npm run build:pack && cd test && npm run install:lib:debug",
"testrpc": "ganache-cli --mnemonic 'clock radar mass judge dismiss just intact mind resemble fringe diary casino' --gasLimit 13000000"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bttcprotocol/js-sdk.git"
},
"keywords": [
"ethereum",
"web3",
"ethers",
"bttc"
],
"author": "Ray Wu <ray.wu@tron.network>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bttcprotocol/js-sdk/issues"
},
"homepage": "https://github.com/bttcprotocol/js-sdk#readme",
"dependencies": {
"@maticnetwork/meta": "^2.4.16",
"axios": "^0.21.1",
"bn.js": "5.0.0",
"console": "^0.7.2",
"debug": "^4.1.1",
"eth-sig-util": "^2.5.3",
"ethereumjs-block": "2.2.0",
"ethereumjs-tx": "1.3.7",
"ethereumjs-util": "^5.2.0",
"merkle-patricia-tree": "2.3.2",
"query-string": "6.8.1",
"tronweb": "^4.0.0",
"web3": "^1.3.0"
},
"devDependencies": {
"@truffle/hdwallet-provider": "^1.2.0",
"@types/bn.js": "4.11.5",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/web3": "1.0.19",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"chai": "3.5.0",
"copy-webpack-plugin": "^6.1.1",
"cross-env": "^7.0.3",
"eslint": "5.16.0",
"eslint-loader": "2.1.2",
"eth-lib": "0.2.7",
"ganache-cli": "^6.12.1",
"husky": "2.4.1",
"lint-staged": "8.2.1",
"mocha": "^8.2.1",
"mochapack": "^2.1.2",
"prettier": "^1.19.1",
"rimraf": "2.6.3",
"ts-loader": "^7.0.1",
"ts-node": "^9.1.1",
"typescript": "^3.8.3",
"typings": "^2.1.1",
"webpack": "^4.43.0",
"webpack-cli": "^4.2.0",
"yargs": "^16.2.0"
},
"browserslist": [
"> 1%",
"node 8",
"not dead"
],
"engines": {
"node": ">=8.0.0"
},
"husky": {
"hooks": {
"pre-commit": "tsc --p src/tsconfig.json && lint-staged"
}
}
}