forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.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
{
"name": "@ethereum-sourcify/contract-call-decoder",
"version": "0.2.11",
"description": "Library to decode Ethereum smart contract calls into human-readable descriptions using ABI and NatSpec",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/ethereum/sourcify/tree/master/packages/contract-call-decoder",
"license": "MIT",
"keywords": [
"sourcify",
"ethereum",
"call",
"contract",
"smart-contract",
"metadata",
"solidity",
"ipfs"
],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"test": "run-s build test:*",
"lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "c8 --reporter=none ava",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "c8 ava --watch",
"cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:lcov": "c8 report --reporter=lcov",
"cov:send-disabled": "run-s cov:lcov && codecov",
"cov:check": "c8 report && c8 check-coverage --lines 100 --functions 100 --branches 100",
"reset-hard": "git clean -dfx && git reset --hard && yarn",
"prepare-release": "run-s reset-hard test cov:check"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"@blossom-labs/rosette-radspec": "^0.2.1",
"@ethereum-sourcify/bytecode-utils": "^1.2.8",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/transactions": "^5.7.0",
"ethereum-provider": "^0.7.7",
"isomorphic-fetch": "^3.0.0"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"ava": "^3.12.1",
"c8": "^8.0.0",
"codecov": "^3.5.0",
"cz-conventional-changelog": "^3.3.0",
"eth-provider": "^0.13.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"ava": {
"failFast": true,
"timeout": "60s",
"typescript": {
"rewritePaths": {
"src/": "build/main/"
}
},
"files": [
"!build/module/**"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},
"c8": {
"exclude": [
"**/*.spec.js"
]
}
}