forked from nttgin/BGPalerter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 4.22 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.28.4",
"description": "Software to monitor streams of BGP data. Pre-configured for real-time detection of visibility loss, RPKI invalid announcements, hijacks, 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": "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": "./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 && ./node_modules/.bin/mocha --exit tests/rpki_tests/tests.external-missing-roas.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 README.md dist/README.md && 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.15.7",
"@babel/core": "^7.15.8",
"@babel/node": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/preset-env": "^7.15.8",
"chai": "^4.3.4",
"chai-subset": "^1.6.0",
"mocha": "^9.1.3",
"pkg": "^5.3.3",
"read-last-lines": "^1.8.0",
"syslogd": "^1.1.2"
},
"dependencies": {
"@sentry/node": "^6.13.3",
"axios": "^0.23.0",
"batch-promises": "^0.0.3",
"brembo": "^2.0.6",
"deepmerge": "^4.2.2",
"fast-file-logger": "^1.1.1",
"https-proxy-agent": "^5.0.0",
"inquirer": "^8.2.0",
"ip-sub": "^1.1.2",
"js-yaml": "^4.1.0",
"kafkajs": "^1.15.0",
"md5": "^2.3.0",
"moment": "^2.29.1",
"node-cleanup": "^2.1.2",
"nodemailer": "^6.7.0",
"path": "^0.12.7",
"restify": "^8.6.0",
"rpki-validator": "^2.7.4",
"semver": "^7.3.5",
"syslog-client": "^1.1.1",
"uuid": "^8.3.2",
"ws": "^8.2.3",
"yargs": "^17.2.1"
},
"pkg": {
"scripts": [
"./src/inputs/*.js",
"./src/monitors/*.js",
"./src/reports/*.js",
"./src/connectors/*.js",
"./src/processMonitors/*.js"
],
"assets": [
"./bin/config.yml"
],
"targets": [
"node14"
]
},
"optionalDependencies": {
"bufferutil": "^4.0.5",
"utf-8-validate": "^5.0.7"
}
}