-
Notifications
You must be signed in to change notification settings - Fork 382
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 4.07 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 4.07 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
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
{
"name": "tronweb",
"version": "6.5.0",
"description": "JavaScript SDK that encapsulates the TRON HTTP API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"files": [
"lib",
"dist",
"src"
],
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/commonjs/index.js"
},
"./utils": {
"import": "./lib/esm/utils/index.js",
"require": "./lib/commonjs/utils/index.js"
}
},
"typesVersions": {
"*": {
"utils": [
"lib/esm/utils/index.d.ts"
]
}
},
"keywords": [
"TRON",
"tronweb"
],
"scripts": {
"build:esm": "tsc --project tsconfig.esm.json && echo '{\"type\": \"module\"}' > ./lib/esm/package.json && npm run copy-protocol:esm",
"build:cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/commonjs/package.json && npm run copy-protocol:cjs",
"build:types": "tsc --project tsconfig.types.json",
"build:dist": "webpack --config webpack.config.js --progress --color",
"build:all": "npm run clean:all && npm run build:esm && npm run build:cjs && npm run build:dist",
"copy-protocol:cjs": "cp -R ./src/protocol ./lib/commonjs/",
"copy-protocol:esm": "cp -R ./src/protocol ./lib/esm/",
"prepare": "npm run build",
"build": "npm run build:all",
"build:dev": "NODE_ENV=development npm run build",
"clean:all": "rimraf dist lib",
"clean": "rimraf dist",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"test:browser": "vitest run -c vitest.browser.config.ts",
"format-all": "prettier --write ./src",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"dependencies": {
"axios": "1.18.0",
"bignumber.js": "9.1.2",
"ethereum-cryptography": "2.2.1",
"ethers": "6.17.0",
"eventemitter3": "5.0.1",
"google-protobuf": "3.21.4",
"semver": "7.7.1",
"tslib": "2.7.0",
"validator": "13.15.23"
},
"devDependencies": {
"@babel/core": "7.29.7",
"@babel/plugin-transform-class-properties": "7.25.9",
"@babel/plugin-transform-numeric-separator": "7.25.9",
"@babel/plugin-transform-object-rest-spread": "7.25.9",
"@babel/plugin-transform-private-methods": "7.25.9",
"@babel/plugin-transform-private-property-in-object": "7.25.9",
"@babel/plugin-transform-runtime": "7.26.10",
"@babel/preset-env": "7.26.9",
"@babel/preset-typescript": "7.26.0",
"@babel/runtime": "7.26.10",
"@eslint/js": "10.0.1",
"@types/estree": "1.0.6",
"@types/json-schema": "7.0.15",
"@types/node": "22.13.10",
"@types/semver": "7.5.8",
"@types/validator": "13.12.2",
"@typescript-eslint/eslint-plugin": "8.65.0",
"@typescript-eslint/parser": "8.65.0",
"@vitest/browser-playwright": "4.1.10",
"@vitest/coverage-v8": "4.1.10",
"babel-loader": "10.0.0",
"babel-plugin-source-map-support": "2.2.0",
"chalk": "2.4.2",
"eslint": "10.8.0",
"eslint-config-prettier": "10.1.1",
"eslint-import-resolver-typescript": "4.2.0",
"events": "3.3.0",
"globals": "16.0.0",
"json-schema": "0.4.0",
"playwright": "1.61.1",
"prettier": "3.5.3",
"querystring-es3": "0.2.1",
"rimraf": "6.1.3",
"source-map-support": "0.5.21",
"ts-loader": "9.5.2",
"typescript": "5.8.2",
"vitest": "4.1.10",
"webpack": "5.105.2",
"webpack-cli": "6.0.1",
"webpack-node-externals": "3.0.0"
},
"author": {
"name": "Tron Protocol",
"url": "https://github.com/tronprotocol"
},
"homepage": "https://tronweb.network",
"license": "MIT",
"repository": "https://github.com/tronprotocol/tronweb.git"
}