forked from nttgin/BGPalerter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.75 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
{
"name": "bgpalerter",
"version": "1.27.1",
"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": "http://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",
"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-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",
"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",
"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.12.10",
"@babel/core": "^7.12.10",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.12.10",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
"mocha": "^8.2.1",
"pkg": "^4.4.9",
"read-last-lines": "^1.7.2",
"syslogd": "^1.1.2"
},
"dependencies": {
"@sentry/node": "^5.27.6",
"axios": "^0.21.1",
"batch-promises": "^0.0.3",
"brembo": "^2.0.4",
"deepmerge": "^4.2.2",
"file-stream-rotator": "^0.5.7",
"https-proxy-agent": "^5.0.0",
"inquirer": "^7.3.3",
"ip-address": "^6.4.0",
"ip-sub": "^1.0.17",
"js-yaml": "^3.14.1",
"kafkajs": "^1.15.0",
"md5": "^2.3.0",
"moment": "^2.29.1",
"nodemailer": "^6.4.16",
"path": "^0.12.7",
"restify": "^8.5.1",
"rpki-validator": "^2.2.12",
"semver": "^7.3.4",
"syslog-client": "^1.1.1",
"ws": "^7.4.0",
"yargs": "^16.2.0"
},
"pkg": {
"scripts": [
"./src/inputs/*.js",
"./src/monitors/*.js",
"./src/reports/*.js",
"./src/connectors/*.js",
"./src/processMonitors/*.js"
],
"assets": [
"./bin/config.yml"
],
"targets": [
"node12"
]
},
"optionalDependencies": {
"bufferutil": "^4.0.2",
"utf-8-validate": "^5.0.3"
}
}