forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 3.75 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
{
"name": "@ethereum-sourcify/lib-sourcify",
"version": "1.12.0",
"description": "Library for Sourcify's contract verification methods, contract validation, types, and interfaces.",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/ethereum/sourcify",
"license": "MIT",
"keywords": [],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"./**/*.ts\" --write",
"fix:lint": "eslint . --ext .ts --fix",
"check": "run-s check:*",
"check:eslint": "eslint . --ext .ts",
"check:prettier": "prettier \"./**/*.ts\" --check",
"test": "c8 --reporter=none mocha -r ts-node/register test/**/*.spec.ts --no-timeout --exit",
"check-cli": "run-s test diff-integration-tests check-integration-tests",
"check-integration-tests": "run-s check-integration-test:*",
"diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "c8 --reporter=none mocha --watch",
"test:unit": "c8 --reporter=none mocha -r ts-node/register test/**/*.spec.ts --no-timeout --exit",
"cov": "run-s -c build test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "c8 report --reporter=html",
"cov:lcov": "c8 report --reporter=lcov",
"cov:check": "c8 report && c8 check-coverage --lines 100 --functions 100 --branches 100"
},
"engines": {
"node": "22.5.1"
},
"dependencies": {
"@ethereum-sourcify/bytecode-utils": "^1.3.1",
"@ethereumjs/blockchain": "7.3.0",
"@ethereumjs/common": "4.4.0",
"@ethereumjs/evm": "3.1.1",
"@ethereumjs/statemanager": "2.4.0",
"@ethereumjs/util": "9.1.0",
"@ethereumjs/vm": "8.1.1",
"@ethersproject/abi": "5.7.0",
"@ethersproject/bignumber": "5.7.0",
"@ethersproject/bytes": "5.7.0",
"@fairdatasociety/bmt-js": "2.1.0",
"abitype": "1.0.8",
"bs58": "5.0.0",
"ethers": "6.13.5",
"http-status-codes": "2.3.0",
"jszip": "3.10.1",
"semver": "7.7.1"
},
"devDependencies": {
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/debug": "4.1.12",
"@types/mocha": "10.0.10",
"@types/node": "22.13.1",
"@types/sinon": "17.0.3",
"@types/sinon-chai": "4.0.0",
"c8": "10.1.3",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"cspell": "8.17.3",
"cz-conventional-changelog": "3.3.0",
"gh-pages": "6.3.0",
"hardhat": "2.22.18",
"mocha": "10.8.2",
"nock": "14.0.0",
"npm-run-all2": "5.0.2",
"open-cli": "8.0.0",
"sinon": "19.0.2",
"sinon-chai": "3.7.0",
"solc": "0.8.28",
"tree-kill": "1.2.2"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},
"c8": {
"check-coverage": true,
"all": true,
"include": [
"src/**/!(*.test.*).[tj]s?(x)"
],
"exclude": [
"src/_tests_/**/*.*",
"**/*.spec.js"
],
"reporter": [
"html",
"lcov",
"text",
"text-summary"
],
"report-dir": "coverage",
"lines": 70,
"statements": 70,
"functions": 75,
"branches": 60
}
}