mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Added a new service for executing synthetic monitor scripts. - Introduced API endpoint for running synthetic monitors. - Created configuration for synthetic monitor execution parameters. - Implemented execution logic with retry mechanisms and timeout handling. - Added support for multiple browser types and screen sizes. - Integrated logging and error handling for better observability. - Established child process management for executing scripts in isolation. - Updated docker-compose configuration to include the new service.
48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"name": "@oneuptime/probe",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/OneUptime/oneuptime"
|
|
},
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "export NODE_OPTIONS='--max-old-space-size=8096' && node --require ts-node/register Index.ts",
|
|
"start:synthetic-runner": "export NODE_OPTIONS='--max-old-space-size=8096' && node --require ts-node/register SyntheticRunner/Index.ts",
|
|
"compile": "tsc",
|
|
"clear-modules": "rm -rf node_modules && rm package-lock.json && npm install",
|
|
"dev": "npx nodemon",
|
|
"audit": "npm audit --audit-level=low",
|
|
"dep-check": "npm install -g depcheck && depcheck ./ --skip-missing=true",
|
|
"test": "jest --detectOpenHandles --passWithNoTests",
|
|
"coverage": "jest --detectOpenHandles --coverage",
|
|
"debug:test": "node --inspect node_modules/.bin/jest --runInBand ./Tests --detectOpenHandles"
|
|
},
|
|
"author": "OneUptime <hello@oneuptime.com> (https://oneuptime.com/)",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@types/ping": "^0.4.4",
|
|
"axios": "^1.13.1",
|
|
"Common": "file:../Common",
|
|
"ejs": "^3.1.10",
|
|
"fast-xml-parser": "^5.3.7",
|
|
"http-proxy-agent": "^7.0.2",
|
|
"https-proxy-agent": "^7.0.5",
|
|
"net-snmp": "^3.26.1",
|
|
"ping": "^0.4.4",
|
|
"playwright": "^1.58.0",
|
|
"ts-node": "^10.9.1",
|
|
"whois-json": "^2.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.5.2",
|
|
"@types/net-snmp": "^3.23.0",
|
|
"@types/node": "^17.0.31",
|
|
"@types/whois-json": "^2.0.4",
|
|
"jest": "^28.1.0",
|
|
"nodemon": "^2.0.20",
|
|
"ts-jest": "^28.0.2"
|
|
}
|
|
}
|