-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.89 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
{
"name": "web3-errors-extract",
"version": "0.2.3",
"description": "Get EVM based web3 transaction revert messages or any other errors",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/commonjs/index.js"
}
},
"files": [
"lib/**/*",
"dist/**/*"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"typescript": "tsc",
"build:cjs": "tsc --build tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json && echo {\"type\": \"commonjs\"} > ./lib/commonjs/package.json",
"build:esm": "tsc --build tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && echo {\"type\": \"module\"} > ./lib/esm/package.json",
"build:types": "tsc --build tsconfig.types.json",
"esbuild:browser": "esbuild src/index.ts --bundle --minify --outfile=dist/web3-errors-extract.min.js",
"build:browser": "browserify lib/commonjs/index.js > dist/web3-errors-extract.min.js",
"build:all": "npm run build:cjs && npm run build:esm && npm run build:types && npm run esbuild:browser"
},
"repository": {
"type": "git",
"url": "git+https://github.com/moazzamgodil/web3-errors-extract.git"
},
"browser": "dist/web3-errors-extract.min.js",
"keywords": [
"web3",
"errors",
"evm",
"ethereum",
"blockchain",
"extract"
],
"author": "Moazzam Ahmed",
"license": "ISC",
"bugs": {
"url": "https://github.com/moazzamgodil/web3-errors-extract/issues"
},
"homepage": "https://github.com/moazzamgodil/web3-errors-extract#readme",
"devDependencies": {
"@types/node": "^20.11.13",
"@types/web3": "^1.2.2",
"esbuild": "0.21.4",
"tsc-alias": "^1.8.10",
"typescript": "^5.3.3"
},
"dependencies": {
"events": "^3.3.0",
"web3": "^4.9.0"
}
}