-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
75 lines (75 loc) · 2.63 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
{
"name": "forta-agent",
"version": "0.1.48",
"license": "MIT",
"description": "Forta Agent SDK and CLI tool",
"homepage": "https://forta.org/",
"repository": {
"type": "git",
"url": "https://github.com/forta-network/forta-agent-sdk"
},
"main": "dist/sdk/index.js",
"types": "dist/sdk/index.d.ts",
"files": [
"/dist"
],
"bin": {
"forta-agent": "./dist/cli/index.js"
},
"scripts": {
"build": "npm run js:build",
"test": "npm run js:test",
"js:build": "tsc --p ./tsconfig.build.json && cp -r ./starter-project ./dist && cp ./cli/commands/init/forta.config.json ./dist/cli/commands/init/forta.config.json && cp ./cli/commands/run/server/agent.proto ./dist/cli/commands/run/server/agent.proto && cp ./cli/commands/run/server/alert.proto ./dist/cli/commands/run/server/alert.proto",
"js:publish": "npm run js:build && npm publish",
"js:publish:local": "npm link --force",
"js:pack": "npm run js:build && npm pack",
"js:test": "jest",
"js:coverage": "jest --coverage",
"python:install": "python3 -m pip install -r ./python-sdk/requirements.txt",
"python:build": "python3 -m build ./python-sdk",
"python:publish": "npm run python:build && python3 -m twine upload ./python-sdk/dist/*",
"python:publish:local": "python3 -m pip install -e ./python-sdk",
"python:pack": "cd ./python-sdk && python3 setup.py sdist",
"python:test": "python3 -m pytest python-sdk",
"python:coverage": "COVERAGE_FILE=python-sdk/.coverage python3 -m coverage run -m pytest python-sdk && cd python-sdk && python3 -m coverage html --directory=coverage"
},
"dependencies": {
"@grpc/grpc-js": "^1.3.6",
"@grpc/proto-loader": "^0.6.4",
"@types/uuid": "^8.3.4",
"async-retry": "^1.3.3",
"awilix": "^4.3.4",
"axios": "^1.6.2",
"base64-arraybuffer": "^1.0.2",
"ethers": "^5.5.1",
"flat-cache": "^3.0.4",
"form-data": "^4.0.0",
"jsonc": "^2.0.0",
"keythereum": "^1.2.0",
"lodash": "^4.17.21",
"murmurhash3js": "^3.0.1",
"n-readlines": "^1.0.1",
"prompts": "^2.4.1",
"python-shell": "^3.0.0",
"sha3": "^2.1.4",
"shelljs": "^0.8.4",
"uuid": "^8.3.2",
"yargs": "^17.0.1"
},
"devDependencies": {
"@types/async-retry": "^1.4.4",
"@types/flat-cache": "^2.0.0",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.170",
"@types/murmurhash3js": "^3.0.3",
"@types/n-readlines": "^1.0.2",
"@types/node": "^15.12.2",
"@types/prompts": "^2.0.14",
"@types/shelljs": "^0.8.8",
"@types/yargs": "^17.0.0",
"jest": "^29.7.0",
"jest-extended": "^0.11.5",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4"
}
}