forked from dawsbot/essential-eth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 3.5 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "essential-eth",
"description": "Ultralight JS for Ethereum",
"version": "0.9.0",
"license": "MIT",
"sideEffects": false,
"private": false,
"module": "./dist/esm/index.js",
"browser": "./dist/cjs/index.umd.js",
"unpkg": "./dist/cjs/index.umd.js",
"umd:main": "./dist/cjs/index.umd.js",
"main": "./dist/cjs/index.js",
"source": "src/index.ts",
"files": [
"dist/"
],
"bugs": {
"url": "https://github.com/dawsbot/essential-eth/issues"
},
"repository": "https://github.com/dawsbot/essential-eth.git",
"author": "@dawsbot",
"size-limit": [
{
"name": "etherToWei",
"path": "src/index.ts",
"import": "{ etherToWei }",
"limit": "3.58kb"
},
{
"name": "JsonRpcProvider",
"path": "src/index.ts",
"import": "{ JsonRpcProvider }",
"limit": "20.32kb"
},
{
"name": "Contract",
"path": "src/index.ts",
"import": "{ Contract }",
"limit": "15.38kb"
}
],
"scripts": {
"size": "npx size-limit",
"test": "npm-run-all --parallel jest compile lint",
"test:all-node-versions": "npx trevor",
"lint": "eslint --cache --fix .",
"compile": "npm-run-all --parallel build:esm build:cjs build:umd",
"build": "rm -rf dist && npm run compile",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "swc src -d dist/cjs",
"build:umd": "microbundle --external none --format umd",
"build:readme": "bash ./scripts/markdown-magic/build-readme.sh",
"jest": "jest",
"build:chains-info": "npx ts-node scripts/fetch-chains-info.ts # used in getNetwork()",
"update-deps": "sh ./scripts/pre-commit.sh",
"pre-commit": "npm run update-deps",
"prepare": "husky install",
"version": "npx genversion --es6 src/logger/package-version.ts && git add src/logger/package-version.ts",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run build",
"doc": "typedoc"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.8",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
"@types/body-parser": "^1.19.1",
"@types/eslint": "^8.4.2",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/jest-dev-server": "^5.0.0",
"@types/node": "^16.10.1",
"@types/prettier": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"body-parser": "^1.19.0",
"dotenv": "^16.0.0",
"eslint": "^8.16.0",
"eslint-plugin-jest": "^26.2.2",
"eslint-plugin-jsdoc": "38.0.2",
"ethers": "^5.7.2",
"express": "^4.17.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-dev-server": "^6.0.3",
"just-omit": "^2.0.1",
"lint-staged": "^12.4.1",
"microbundle": "^0.15.0",
"npm-run-all": "^4.1.5",
"perf_hooks": "^0.0.1",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^2.3.4",
"ts-jest": "^27.1.4",
"ts-node": "^10.2.1",
"typedoc": "^0.22.15",
"typescript": "^4.6.4",
"web3": "^1.8.1",
"zod": "^3.21.4"
},
"dependencies": {
"@noble/secp256k1": "^1.5.5",
"@types/big.js": "^6.1.6",
"big.js": "^6.2.1",
"isomorphic-unfetch": "^3.1.0",
"sha3": "^2.1.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,scss,md,json,html,yml,yaml}": [
"prettier --write"
],
"*.{ts,tsx}": "eslint --cache --fix"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"singleQuote": true
},
"keywords": [
"ethereum",
"polygon",
"evm",
"web-performance",
"tiny"
]
}