forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 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
126
127
128
129
130
131
132
133
134
135
{
"name": "sourcify-server",
"version": "2.4.0",
"description": "Solidity metadata-based re-compilation and source verification tool",
"main": "dist/server/server.js",
"types": "dist/server/server.d.ts",
"bin": "dist/server/cli.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ethereum/sourcify.git"
},
"scripts": {
"prebuild": "copyfiles -u 1 src/**/*.yaml src/*.json dist",
"build": "tsc",
"start": "node ./dist/server/cli.js",
"postgres-test:start": "docker-compose -f test/docker-compose.yml up -d",
"postgres-test:stop": "docker-compose -f test/docker-compose.yml rm -fsv",
"postgres-test:migrate": "cd ../database && npm run migrate:up -- --env test",
"test:unit": "mocha --exit test/unit/**",
"test:integration": "npm run postgres-test:migrate && mocha --exit test/integration/**",
"test": "npm run postgres-test:migrate & npx c8 --reporter=none mocha --exit test/unit/** test/integration/**",
"test:chains": "npm run postgres-test:migrate && mocha test/chains/chain-tests.spec.ts --reporter mochawesome --reporter-options reportDir=chain-tests-report,reportFilename=report --exit",
"test:etherscan-instances": "npm run postgres-test:migrate && mocha --exit test/chains/etherscan-instances.spec.ts ",
"test-local:integration": "export DOCKER_HOST_POSTGRES_TEST_PORT=${DOCKER_HOST_POSTGRES_TEST_PORT:-5431} && npm run postgres-test:start && sleep 2 && npm run test:integration; status=$?; npm run postgres-test:stop; exit $status",
"test-local": "npm run test:unit && npm run test-local:integration",
"test-local:chains": "export DOCKER_HOST_POSTGRES_TEST_PORT=${DOCKER_HOST_POSTGRES_TEST_PORT:-5431} && npm run postgres-test:start && sleep 2 && npm run test:chains; status=$?; npm run postgres-test:stop; exit $status",
"test-local:etherscan-instances": "export DOCKER_HOST_POSTGRES_TEST_PORT=${DOCKER_HOST_POSTGRES_TEST_PORT:-5431} && npm run postgres-test:start && sleep 2 && npm run test:etherscan-instances; status=$?; npm run postgres-test:stop; exit $status",
"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",
"check:tsc": "tsc --noEmit -p ./tsconfig.lint.json",
"cov": "run-s -c build test-local 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"
},
"keywords": [
"ethereum",
"solidity",
"verification",
"bytecode",
"metadata"
],
"author": "sourcifyeth",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethereum/sourcify/issues"
},
"homepage": "https://github.com/ethereum/sourcify#readme",
"dependencies": {
"@aws-sdk/client-lambda": "3.699.0",
"@aws-sdk/client-s3": "3.700.0",
"@ethereum-sourcify/bytecode-utils": "^1.2.13",
"@ethereum-sourcify/lib-sourcify": "^1.10.0",
"@google-cloud/cloud-sql-connector": "1.4.0",
"@shazow/whatsabi": "0.17.0",
"abitype": "1.0.6",
"bunyan": "1.8.15",
"chalk": "4.1.2",
"config": "3.3.12",
"connect-pg-simple": "9.0.1",
"cors": "2.8.5",
"directory-tree": "3.5.2",
"dotenv": "16.4.5",
"ethers": "6.13.4",
"express": "4.21.1",
"express-fileupload": "1.5.1",
"express-openapi-validator": "5.3.9",
"express-rate-limit": "6.11.2",
"express-session": "1.18.1",
"http-status-codes": "2.3.0",
"json-refs": "3.0.15",
"memorystore": "1.6.7",
"pg": "8.13.1",
"semver": "7.6.3",
"serve-index": "1.9.1",
"solc": "0.8.28",
"swagger-ui-express": "5.0.1",
"uuid": "10.0.0",
"winston": "3.17.0",
"yamljs": "0.3.0"
},
"devDependencies": {
"@types/bunyan": "1.8.11",
"@types/chai": "4.3.20",
"@types/config": "3.3.5",
"@types/connect-pg-simple": "7.0.3",
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/express-session": "1.18.0",
"@types/mocha": "10.0.10",
"@types/mochawesome": "6.2.4",
"@types/node": "22.10.0",
"@types/pg": "8.11.10",
"@types/serve-index": "1.9.4",
"@types/sinon": "17.0.3",
"@types/swagger-ui-express": "4.1.7",
"@types/uuid": "9.0.8",
"@types/yamljs": "0.2.34",
"c8": "10.1.2",
"chai": "4.5.0",
"chai-http": "4.4.0",
"commander": "12.1.0",
"copyfiles": "2.4.1",
"hardhat": "2.22.16",
"mocha": "10.8.2",
"mochawesome": "7.1.3",
"nock": "14.0.0-beta.18",
"npm-run-all2": "5.0.2",
"open-cli": "8.0.0",
"rimraf": "4.4.1",
"sinon": "19.0.2",
"tree-kill": "1.2.2",
"typestrict": "1.0.2"
},
"optionalDependencies": {
"fsevents": "2.3.3"
},
"c8": {
"exclude": [
"test/**/*.*",
"packages/**/*.*",
"src/common/loggerLoki.ts"
],
"reporter": [
"html",
"lcov",
"text",
"text-summary"
]
}
}