-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
104 lines (104 loc) · 3 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": "essential-eth",
"description": "Ultralight JS for Ethereum",
"version": "0.10.3",
"license": "MIT",
"sideEffects": false,
"type": "module",
"private": false,
"main": "./dist/cjs/index.js",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
}
},
"types": "./dist/esm/index.d.ts",
"engines": {
"node": ">=14"
},
"files": [
"dist/"
],
"bugs": {
"url": "https://github.com/dawsbot/essential-eth/issues"
},
"repository": "https://github.com/dawsbot/essential-eth.git",
"author": "@dawsbot",
"scripts": {
"test": "npm-run-all --parallel vitest compile lint",
"test:all-node-versions": "npx trevor",
"lint": "eslint --cache --fix . --config .eslintrc.cjs",
"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": "tsc -p tsconfig-cjs.json && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:umd": "microbundle --external none --format umd",
"build:readme": "bash ./scripts/markdown-magic/build-readme.sh",
"vitest": "vitest run",
"build:chains-info": "npx tsx scripts/update-chains-info/index.ts # used in getNetwork()",
"update-deps": "sh ./scripts/pre-commit.sh",
"pre-commit": "npm run update-deps",
"prepare": "husky install",
"version": "bunx 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": "^8.2.4",
"@types/bn.js": "^5.1.1",
"@types/eslint": "^8.37.0",
"@types/node": "^18.16.0",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"bn.js": "^5.2.1",
"dotenv": "^16.0.0",
"eslint": "^8.16.0",
"eslint-plugin-jsdoc": "^38.0.2",
"eslint-plugin-vitest": "^0.1.5",
"husky": "^7.0.4",
"lint-staged": "^13.2.1",
"markdown-magic": "^2.6.1",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"perf_hooks": "^0.0.1",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"typedoc": "^0.24.5",
"typescript": "^4.9.4",
"vitest": "^0.34.6",
"zod": "^3.21.4"
},
"dependencies": {
"@noble/secp256k1": "^1.5.5",
"@types/big.js": "^6.1.6",
"big.js": "^6.2.1",
"ethers": "^5.7.2",
"isomorphic-unfetch": "^3.1.0",
"sha3": "^2.1.4"
},
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"*.{ts,tsx,js,jsx}": "eslint --fix --config .eslintrc.cjs"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"singleQuote": true,
"plugins": [
"prettier-plugin-organize-imports"
]
},
"keywords": [
"ethereum",
"polygon",
"evm",
"web-performance",
"tiny"
]
}