forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 4.1 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
{
"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",
"clean": "rimraf ./dist",
"build": "tsc",
"pretest": "npm run build:lerna",
"test": "TESTING=true LOCALCHAIN_URL=http://localhost:8545 DOTENV_CONFIG_PATH=./environments/.env mocha -r dotenv/config --exit",
"test:server": "TESTING=true LOCALCHAIN_URL=http://localhost:8545 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",
"coverage": "node ./node_modules/nyc/bin/nyc.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",
"localchain": "./scripts/localchain.js",
"localchain:test": "NODE_ENV=testing LOCALCHAIN_PORT=8545 ./scripts/localchain.js",
"dev": "npm run build:ui && ./src/run.sh 80 repository db",
"dev:ui": "cd ./ui/ && npm install && npm start",
"dev:server": "npm run build:ui && ./scripts/run_server.sh",
"dev:server:local": "npm run build:ui && TESTING=true ./scripts/run_server.sh",
"build:ui": "cd ./ui/ && npm install && npm run build",
"monitor:build": "npm run clean && npm run build",
"monitor:start": "node ./dist/monitor/monitor.js",
"monitor": "rimraf ./dist && tsc && node ./dist/monitor/monitor.js",
"monitor:ci": "scripts/monitor_ci.sh",
"server:build": "npm run clean && npm run build",
"server:start": "node ./dist/server/server.js",
"server:test": "tsc && TESTING=true LOCALCHAIN_URL=http://localhost:8545 node ./dist/server/server.js ./repository",
"cli:test": "npm run build && ./node_modules/.bin/mocha test/sourcify.js",
"build:clean": "rm -rf node_modules/ services/verification/node_modules/ services/validation/node_modules/ services/core/node_modules/ && npx lerna bootstrap && npx lerna run build",
"build:lerna": "lerna run build"
},
"keywords": [
"ethereum",
"solidity",
"verification",
"bytecode",
"metadata"
],
"author": "chriseth",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethereum/sourcify/issues"
},
"homepage": "https://github.com/ethereum/sourcify#readme",
"dependencies": {
"@ethereum-sourcify/core": "0.2.10",
"@ethereum-sourcify/validation": "0.2.10",
"@ethereum-sourcify/verification": "0.2.11",
"@types/form-data": "^2.5.0",
"@types/node-fetch": "^2.5.7",
"bunyan": "^1.8.12",
"commander": "^9.0.0",
"cors": "^2.8.5",
"death": "^1.1.0",
"dotenv": "^8.2.0",
"ethers": "^5.0.14",
"express": "^4.17.1",
"express-fileupload": "^1.2.0",
"express-session": "^1.17.1",
"express-validator": "^6.6.1",
"http-status-codes": "^2.1.4",
"it-concat": "^1.0.1",
"memorystore": "^1.6.7",
"multihashes": "^3.0.1",
"node-fetch": "2.6.6",
"serve-index": "^1.9.1",
"web3": "^1.2.11"
},
"devDependencies": {
"@types/bunyan": "^1.8.8",
"@types/cors": "^2.8.7",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.8",
"@types/express-fileupload": "^1.1.4",
"@types/express-session": "^1.17.3",
"@types/node": "^14.11.2",
"@types/request-promise-native": "^1.0.17",
"@types/serve-index": "^1.7.30",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint": "^8.5.0",
"ganache": "^7.0.2",
"ipfs-core": "^0.12.2",
"ipfs-unixfs": "^1.0.0",
"ipld-dag-pb": "^0.18.2",
"lerna": "^3.22.1",
"mocha": "^7.0.0",
"mochawesome": "^7.1.2",
"pify": "^4.0.1",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"typestrict": "^1.0.2"
}
}