-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
227 lines (227 loc) · 6.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
"name": "@hyperjumptech/monika",
"description": "Synthetic monitoring made easy",
"version": "1.21.2",
"license": "MIT",
"author": "@hyperjumptech",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"monika": "./bin/run.js"
},
"oclif": {
"additionalVersionFlags": [
"-v"
],
"additionalHelpFlags": [
"-h"
],
"bin": "monika",
"default": "monika",
"dirname": "monika",
"commands": {
"strategy": "single",
"target": "./lib/commands/monika.js"
},
"plugins": [
"@oclif/plugin-help"
]
},
"keywords": [
"monika",
"Website monitoring",
"Uptime monitoring",
"Performance tracking",
"Command-line interface",
"Alert notifications",
"Slow site notifications",
"Resource monitoring",
"Availability monitoring",
"Web health tracking",
"Synthetic monitoring"
],
"scripts": {
"clean": "rm -rf coverage lib tsconfig.tsbuildinfo oclif.manifest.json",
"lint": "eslint . --ext .ts --config .eslintrc",
"prepack": "npm run clean && tsc -b && oclif manifest",
"start": "npm run prepack && ./bin/dev.js",
"start:prod": "npm run prepack && ./bin/run.js",
"test": "npm run prepack && cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text --extension .ts mocha --config .mocharc.json --forbid-only '{packages,src,test}/**/*.test.ts'",
"cli-test": "bats test/bats/cli.bats",
"test:watch": "npm run clean && NODE_ENV=test mocha {packages,src,test}/**/*.test.ts --watch --watch-files {packages,src,test}/**/*",
"prod_test": "npm run prod_test:bin && npm run prod_test:cli",
"prod_test:bin": "mocha prod_test/binary-test.ts --timeout=60000",
"prod_test:cli": "mocha prod_test/test.ts --timeout=60000",
"version": "oclif readme && git add README.md",
"format": "prettier --write .",
"check-format": "prettier --check .",
"pkg": "npm run prepack && pkg . --compress brotli",
"pack-tarballs": "npm run prepack && oclif pack tarballs --targets=linux-x64 --no-xz"
},
"dependencies": {
"@faker-js/faker": "^7.4.0",
"@hyperjumptech/monika-notification": "^1.18.0",
"@isaacs/ttlcache": "^1.4.1",
"@oclif/core": "^3.27.0",
"@oclif/plugin-help": "^6.2.5",
"@oclif/plugin-plugins": "^5.3.4",
"@sendgrid/mail": "^7.4.2",
"@sentry/node": "^8.41.0",
"@sentry/profiling-node": "^8.41.0",
"@types/pg": "^8.10.9",
"ajv": "^8.11.0",
"axios": "0.27.2",
"boxen": "^5.0.0",
"chalk": "^4.1.2",
"chokidar": "^3.5.1",
"cli-table3": "^0.6.0",
"cockatiel": "3.1.1",
"date-fns": "^2.23.0",
"express": "^4.18.2",
"fast-xml-parser": "^4.0.8",
"filtrex": "^2.2.3",
"form-data": "^4.0.0",
"fs-extra": "^9.0.13",
"getos": "3.2.1",
"handlebars": "^4.7.7",
"hasha": "^5.2.2",
"helmet": "4.6.0",
"is-url": "^1.2.4",
"joi": "^17.4.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"macaddress": "^0.5.2",
"mariadb": "^3.0.2",
"mongodb": "^4.10.0",
"mongodb-uri": "^0.9.7",
"node-cron": "3.0.0",
"os-name": "4.0.1",
"p-event": "^4.2.0",
"pg": "^8.8.0",
"pg-connection-string": "^2.5.0",
"ping": "^0.4.1",
"pino": "8.14.1",
"pino-pretty": "10.0.1",
"piscina": "^4.1.0",
"prom-client": "13.1.0",
"redis": "^4.3.0",
"smtp-server": "^3.8.0",
"sqlite": "^4.0.21",
"sqlite3": "^5.1.7",
"ssl-checker": "2.0.7",
"stun": "^2.1.0",
"undici": "6.6.2",
"unzipper": "^0.10.11",
"url-parse": "^1.5.10",
"uuid": "9.0.1",
"xstate": "^4.35.0",
"yaml": "1.10.2"
},
"devDependencies": {
"@gmrchk/cli-testing-library": "^0.1.2",
"@mapbox/node-pre-gyp": "^1.0.11",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.2.15",
"@types/chai": "^4.2.15",
"@types/chai-spies": "^1.0.4",
"@types/express": "^4.17.12",
"@types/fs-extra": "^9.0.13",
"@types/getos": "^3.0.1",
"@types/is-url": "^1.2.29",
"@types/js-yaml": "^4.0.2",
"@types/mocha": "^5.2.7",
"@types/mongodb-uri": "^0.9.1",
"@types/node": "20.11.30",
"@types/node-cron": "^2.0.4",
"@types/sinon": "^10.0.2",
"@types/smtp-server": "^3.5.6",
"@types/sqlite3": "^3.1.7",
"@types/unzipper": "^0.10.5",
"@types/url-parse": "^1.4.8",
"@types/uuid": "^9.0.3",
"bats-assert": "^2.0.0",
"chai": "^4.3.4",
"chai-spies": "^1.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.51.0",
"eslint-config-oclif": "^5.0.0",
"eslint-config-oclif-typescript": "^3.0.5",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-perfectionist": "^2.1.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"mocha": "^9.1.2",
"msw": "^2.2.3",
"nyc": "^15.1.0",
"oclif": "^4.14.0",
"pkg": "^5.8.1",
"prettier": "2.5.1",
"sinon": "^15.2.0",
"ts-node": "^10.4.0",
"typescript": "5.1.6"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"/bin",
"/lib",
"/lib/workers",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/scripts",
"/db/migrations"
],
"homepage": "https://monika.hyperjump.tech",
"bugs": "https://github.com/hyperjumptech/monika/issues",
"repository": "https://github.com/hyperjumptech/monika",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"node scripts/add-license.js",
"eslint --cache"
],
"*.{ts,js,css,md}": "prettier --write"
},
"pkg": {
"scripts": [
"./lib/**/*.js",
"./node_modules/thread-stream/lib/worker.js",
"./node_modules/pino/lib/worker.js"
],
"assets": [
"db/migrations/*.sql",
"node_modules/sqlite3/lib/binding/**/*"
],
"targets": [
"node20-linux-x64",
"node20-macos-x64",
"node20-win-x64"
],
"patches": {
"./node_modules/thread-stream/lib/worker.js": [
"fn = (await realImport(workerData.filename)).default",
"fn = realRequire(workerData.filename.replace('file://', ''))"
],
"./node_modules/pino/lib/worker.js": [
"fn = (await realImport(toLoad)).default",
"fn = realRequire(t.target)"
]
},
"outputPath": "dist"
},
"volta": {
"node": "20.11.0"
},
"workspaces": [
"packages/*"
]
}