forked from nttgin/BGPalerter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 4.27 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": "bgpalerter",
"version": "1.32.0",
"description": "BGP and RPKI monitoring tool. Pre-configured for real-time detection of visibility loss, RPKI invalid announcements, hijacks, ROA misconfiguration, and more.",
"author": {
"name": "Massimo Candela",
"url": "https://massimocandela.com"
},
"license": "BSD-3-Clause",
"main": "src/worker.js",
"bin": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/nttgin/BGPalerter.git"
},
"scripts": {
"babel": "./node_modules/.bin/babel",
"test": "rm -rf .cache/ && npm run test-core && npm run test-generate && npm run test-reports && npm run test-rpki && npm run test-neighbor",
"test-core": "rm -rf volumetests/ && ./node_modules/.bin/mocha --exit tests/*.js --require @babel/register && rm -rf volumetests/",
"test-reports": "./node_modules/.bin/mocha --exit tests/reports_tests/testReportSyslog.js --require @babel/register && ./node_modules/.bin/mocha --exit tests/reports_tests/testsReportHttp.js --require @babel/register",
"test-proxy": "./node_modules/.bin/mocha --exit tests/proxy_tests/*.js --require @babel/register",
"test-generate": "./node_modules/.bin/mocha --exit tests/generate_tests/*.js --require @babel/register",
"test-kafka": "./node_modules/.bin/mocha --exit tests/kafka_tests/*.js --require @babel/register",
"test-neighbor": "./node_modules/.bin/mocha --exit tests/neighbor_tests/*.js --require @babel/register",
"test-npm": "./node_modules/.bin/mocha --exit tests/npm_tests/*.js --require @babel/register",
"test-dump": "rm -rf volumetests/ && ./node_modules/.bin/mocha --exit tests/dump_tests/*.js --require @babel/register",
"test-rpki": "rm -f -R .cache/ && ./node_modules/.bin/mocha --exit tests/rpki_tests/tests.default.js --require @babel/register && ./node_modules/.bin/mocha --exit tests/rpki_tests/tests.external.js --require @babel/register && rm -f -R .cache/ && ./node_modules/.bin/mocha --exit tests/rpki_tests/tests.external-roas.js --require @babel/register && ./node_modules/.bin/mocha --exit tests/rpki_tests/tests.api.js --require @babel/register",
"build": "./build.sh",
"compile": "rm -rf dist/ && ./node_modules/.bin/babel index.js -d dist && ./node_modules/.bin/babel src -d dist/src && cp package.json dist/package.json && cp package-lock.json dist/package-lock.json && cp README.md dist/README.md && cp AUTHORS dist/AUTHORS && cp .npm* dist/",
"serve": "babel-node index.js",
"inspect": "node --inspect --require @babel/register index.js",
"update": "git update-index --assume-unchanged config.yml && git update-index --assume-unchanged prefixes.yml && git pull",
"generate-prefixes": "babel-node index.js generate"
},
"keywords": [
"BGP",
"monitoring",
"rpki",
"network",
"internet",
"real-time",
"hijack",
"detection",
"measurements"
],
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/node": "^7.20.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"chai": "^4.3.7",
"chai-subset": "^1.6.0",
"mocha": "^10.2.0",
"pkg": "^5.8.0",
"read-last-lines": "^1.8.0",
"syslogd": "^1.1.2"
},
"dependencies": {
"@sentry/node": "^7.40.0",
"axios": "=0.27.1",
"batch-promises": "^0.0.3",
"brembo": "^2.1.0",
"deepmerge": "^4.3.0",
"fast-file-logger": "^1.1.5",
"https-proxy-agent": "^5.0.1",
"inquirer": "=8.2.5",
"ip-sub": "^1.3.6",
"js-yaml": "^4.1.0",
"kafkajs": "^2.2.3",
"md5": "^2.3.0",
"moment": "^2.29.4",
"node-cleanup": "^2.1.2",
"nodemailer": "^6.9.1",
"path": "^0.12.7",
"restify": "github:massimocandela/node-restify",
"rpki-validator": "^2.12.7",
"semver": "^7.3.8",
"syslog-client": "^1.1.1",
"uuid": "^9.0.0",
"ws": "^8.12.1",
"yargs": "^17.7.1"
},
"pkg": {
"scripts": [
"./src/inputs/*.js",
"./src/monitors/*.js",
"./src/reports/*.js",
"./src/connectors/*.js",
"./src/processMonitors/*.js"
],
"assets": [
"./bin/config.yml"
],
"targets": [
"node18"
]
},
"optionalDependencies": {
"bufferutil": "^4.0.7",
"utf-8-validate": "^6.0.3"
}
}