Files
oneuptime/InfrastructureAgent/package.json

43 lines
1.3 KiB
JSON

{
"name": "@oneuptime/infrastructure-agent",
"version": "1.0.0",
"description": "",
"scripts": {
"start": "npx tsx Index.ts",
"build": "esbuild Index.ts --bundle --platform=node --outfile=./build/Index.js --loader:.node=file",
"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": "rm -rf build && jest --detectOpenHandles",
"coverage": "jest --detectOpenHandles --coverage",
"publish-package": "export PACKAGE_NAME=@oneuptime/infrastructure-agent && bash ../Scripts/NPM/PublishPackage.sh"
},
"author": "OneUptime <hello@oneuptime.com> (https://oneuptime.com/)",
"license": "Apache-2.0",
"dependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^17.0.31",
"@types/node-cron": "^3.0.11",
"@types/yargs": "^17.0.32",
"axios": "^1.6.8",
"diskusage": "^1.2.0",
"drivelist": "^11.2.2",
"esbuild": "^0.20.1",
"node-cron": "^3.0.3",
"ps-list": "^8.1.1",
"typescript": "^5.4.2",
"yargs": "^17.7.2",
"tsx": "^4.7.1"
},
"bin": {
"oneuptime-infrastructure-agent": "./Index.ts"
},
"devDependencies": {
"jest": "^28.1.0",
"nodemon": "^2.0.20"
}
}