forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
125 lines (125 loc) · 4.55 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
{
"name": "ethereum-sourcify",
"version": "1.0.0",
"description": "Solidity metadata-based re-compilation and source verification tool",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/ethereum/sourcify.git"
},
"scripts": {
"prepublishOnly": "npm install && npm run build",
"build": "tsc",
"build:clean": "rm -rf node_modules/ packages/bytecode-utils/node_modules/ packages/contract-call-decoder/node_modules/ packages/lib-sourcify/node_modules/ && npm install && npx lerna bootstrap && npx lerna run build",
"build:lerna": "lerna run build",
"test": "TESTING=true DOTENV_CONFIG_PATH=./environments/.env c8 --reporter=none mocha -r dotenv/config --exit",
"test:monitor": "TESTING=true DOTENV_CONFIG_PATH=./environments/.env mocha test/monitor.js --exit",
"test:server": "TESTING=true DOTENV_CONFIG_PATH=./environments/.env mocha -r dotenv/config test/server.js --exit",
"test:chains": "TESTING=true mocha test/chains/chain-tests.js --reporter mochawesome --reporter-options reportDir=chain-tests-report,reportFilename=report --exit",
"lint": "eslint . --ext .ts",
"lint-tests": "eslint ./test --ext .js",
"lint-fix": "eslint . --fix --ext .ts",
"coverage": "node ./node_modules/c8/bin/c8.js --reporter=lcov --reporter=text-summary ./node_modules/tape/bin/tape ./test/index.js",
"coveralls": "npm run coverage && node ./node_modules/coveralls/bin/coveralls.js <coverage/lcov.info",
"monitor:build": "npm run clean && npm run build",
"monitor:start": "node ./dist/monitor/monitor.js",
"monitor": "rimraf ./dist && tsc && node ./dist/monitor/monitor.js",
"server:build": "npm run clean && npm run build",
"server:start": "node ./dist/server/server.js",
"update-chains": "node --experimental-fetch scripts/updateChains.mjs && prettier --write src/chains.json",
"test:unit": "TESTING=true DOTENV_CONFIG_PATH=./environments/.env c8 --silent mocha -r dotenv/config --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:send": "run-s cov:lcov && codecov -F server -f coverage/lcov.info",
"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": {
"@ethereum-sourcify/bytecode-utils": "*",
"@ethereum-sourcify/lib-sourcify": "*",
"@types/node-fetch": "^2.5.7",
"abitype": "0.8.0",
"bunyan": "^1.8.12",
"commander": "^9.0.0",
"cors": "^2.8.5",
"directory-tree": "^3.5.1",
"dotenv": "^8.2.0",
"ethers": "^6.6.2",
"express": "^4.17.1",
"express-fileupload": "^1.4.0",
"express-openapi-validator": "^5.0.4",
"express-session": "^1.17.1",
"http-status-codes": "^2.1.4",
"ipfs-http-client": "^56.0.3",
"ipfs-http-gateway": "0.9.3",
"json-refs": "^3.0.15",
"memorystore": "^1.6.7",
"node-fetch": "2.6.6",
"puppeteer": "^20.7.4",
"serve-index": "^1.9.1",
"solc": "^0.8.17",
"swagger-ui-express": "^4.6.3",
"winston": "^3.8.2",
"winston-loki": "^6.0.6",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/bunyan": "^1.8.6",
"@types/cors": "^2.8.7",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.3",
"@types/node": "^16.11.36",
"@types/rimraf": "^3.0.2",
"@types/serve-index": "^1.7.30",
"@types/swagger-ui-express": "^4.1.3",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"c8": "^8.0.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"codecov": "^3.8.3",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.5.0",
"ganache": "^7.0.2",
"ipfs-core": "^0.12.2",
"ipld-dag-pb": "^0.18.2",
"lerna": "^3.22.1",
"mocha": "^7.0.0",
"mochawesome": "^7.1.2",
"npm-run-all": "^4.1.5",
"open-cli": "^7.1.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"typescript": "^4.9.3",
"typestrict": "^1.0.2"
},
"c8": {
"exclude": [
"test/**/*.*",
"packages/**/*.*",
"src/common/loggerLoki.ts"
],
"reporter": [
"html",
"lcov",
"text",
"text-summary"
]
}
}