forked from MyCryptoHQ/eth-scan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.72 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
{
"name": "@mycrypto/eth-scan",
"version": "3.5.3",
"description": "An efficient Ether and token balance scanner",
"keywords": [
"ethereum",
"ether",
"tokens",
"balance",
"scanner",
"web3",
"ethers.js",
"smart-contract"
],
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"typings": "typings/src/index.d.ts",
"repository": "https://github.com/MyCryptoHQ/eth-scan.git",
"author": "MyCrypto",
"contributors": [
"Maarten Zuidhoorn <[email protected]>",
"Luit Hollander <[email protected]> (https://luit.me)"
],
"license": "MIT",
"files": [
"lib",
"src",
"typings"
],
"sideEffects": false,
"scripts": {
"prepare": "yarn run compile && yarn run build",
"clean": "rimraf lib",
"build": "yarn run clean && yarn run build:source && yarn run build:declarations",
"build:source": "yarn run build:source:cjs && yarn run build:source:es",
"build:source:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel src --extensions '.ts' --source-maps --out-dir lib/cjs",
"build:source:es": "cross-env NODE_ENV=production BABEL_ENV=es babel src --extensions '.ts' --source-maps --out-dir lib/es",
"build:declarations": "tsc -p tsconfig.build.json",
"compile": "hardhat compile",
"test": "jest",
"lint": "yarn lint:types && yarn lint:source && yarn lint:solidity && yarn lint:format",
"lint:types": "tsc --noEmit",
"lint:source": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js,.jsx",
"lint:solidity": "hardhat check",
"lint:format": "prettier --check --ignore-path .gitignore '**/*.{ts,tsx,js,jsx,json,yml,sol}'",
"format": "prettier --write --ignore-path .gitignore '**/*.{ts,tsx,js,json,yml,sol}'",
"estimate-gas": "ts-node --files scripts/estimate-gas.ts"
},
"dependencies": {
"@findeth/abi": "^0.7.1",
"isomorphic-unfetch": "^3.1.0",
"nanoid": "^3.1.28"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.11.5",
"@ethersproject/providers": "^5.0.9",
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-solhint": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^4.0.0",
"@typechain/ethers-v5": "^5.0.0",
"@types/ethereumjs-abi": "^0.6.3",
"@types/jest": "^26.0.10",
"@types/node": "^12.0.3",
"@types/node-fetch": "^2.5.4",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-preset-minify": "^0.5.1",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"eip1193-provider": "^1.0.1",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.0.2",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.25",
"hardhat": "^2.0.7",
"hardhat-typechain": "^0.3.4",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"prettier-plugin-solidity": "^1.0.0-alpha.58",
"rimraf": "^3.0.2",
"solhint": "^3.3.4",
"ts-node": "^9.0.0",
"typechain": "^4.0.1",
"typescript": "^4.2.3",
"web3": "^1.3.1"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"eslint --fix"
],
"*.{sol,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"access": "public"
}
}