Files
butler-sos/package.json
2025-12-15 08:40:58 +01:00

103 lines
4.3 KiB
JSON

{
"name": "butler-sos",
"version": "14.0.0",
"description": "Butler SenseOps Stats (\"Butler SOS\") is a tool that publishes operational Qlik Sense metrics to InfluxDB (v1, v2, v3), Prometheus, New Relic and MQTT.",
"main": "butler-sos.js",
"scripts": {
"build": "npx jsdoc-to-markdown 'src/**/*.js' > docs/src-code-overview.md",
"build:docker": "docker build -t butler-sos:latest .",
"butler-sos": "node src/butler-sos.js",
"jest": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js",
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js && snyk test && npm run format",
"test:unit": "npm run jest",
"format": "npm run format:prettier",
"format:prettier": "npx prettier --config .prettierrc.yaml \"./**/*.{ts,css,less,js}\" --write",
"lint": "npx eslint src/**/*.js",
"lint:fix": "npx eslint --fix src/**/*.js",
"security:audit": "npm audit --audit-level=high",
"security:full": "npm run security:audit && snyk test --severity-threshold=high",
"sbom:generate": "rm -r ./build && mkdir -p ./build && sbom-tool generate -b ./build -bc . -pn butler-sos -pv $(node -p \"require('./package.json').version\") -ps \"Ptarmigan Labs\" -nsb https://sbom.ptarmiganlabs.com -V verbose",
"deps:check": "ncu --doctor -u",
"deps:audit": "audit-ci --config .audit-ci.json",
"deps:lockfile": "lockfile-lint --path package-lock.json --validate-https --validate-integrity",
"security:deps": "npm run deps:lockfile && npm run deps:audit",
"license:check": "license-checker-rseidelsohn --onlyAllow 'MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;0BSD'",
"license:report": "license-checker-rseidelsohn --csv --out licenses.csv",
"license:summary": "license-checker-rseidelsohn --summary",
"license:json": "license-checker-rseidelsohn --json --out licenses.json",
"license:full": "npm run license:summary && npm run license:check && npm run license:report"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ptarmiganlabs/butler-sos.git"
},
"keywords": [
"butler-sos",
"senseops",
"devops",
"influxdb",
"prometheus",
"qliksense"
],
"author": "Göran Sander",
"license": "MIT",
"bugs": {
"url": "https://github.com/ptarmiganlabs/butler-sos/issues"
},
"homepage": "https://github.com/ptarmiganlabs/butler-sos#readme",
"type": "module",
"dependencies": {
"@breejs/later": "^4.2.0",
"@fastify/rate-limit": "^10.3.0",
"@fastify/sensible": "^6.0.4",
"@fastify/static": "^8.3.0",
"@influxdata/influxdb-client": "^1.35.0",
"@influxdata/influxdb-client-apis": "^1.35.0",
"@influxdata/influxdb3-client": "^1.4.0",
"ajv": "^8.17.1",
"ajv-keywords": "^5.1.0",
"async-mutex": "^0.5.0",
"axios": "^1.13.2",
"commander": "^14.0.2",
"config": "^4.1.1",
"fastify": "^5.6.2",
"fastify-healthcheck": "^5.1.0",
"fastify-metrics": "^12.1.0",
"fs-extra": "^11.3.2",
"handlebars": "^4.7.8",
"influx": "^5.11.0",
"js-yaml": "^4.1.1",
"lodash.clonedeep": "^4.5.0",
"luxon": "^3.7.2",
"mqtt": "^5.14.1",
"p-queue": "^9.0.1",
"posthog-node": "^5.17.2",
"prom-client": "^15.1.3",
"qrs-interact": "^6.3.1",
"systeminformation": "^5.27.11",
"ua-parser-js": "^2.0.6",
"uuid": "^13.0.0",
"winston": "^3.19.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.28.5",
"@babel/plugin-syntax-import-assertions": "^7.27.1",
"@eslint/js": "^9.39.2",
"audit-ci": "^7.1.0",
"esbuild": "^0.27.1",
"eslint-config-prettier": "^10.1.8",
"eslint-formatter-table": "^7.32.1",
"eslint-plugin-jsdoc": "^61.5.0",
"eslint-plugin-prettier": "^5.5.4",
"globals": "^16.5.0",
"jest": "^30.2.0",
"jsdoc-to-markdown": "^9.1.3",
"license-checker-rseidelsohn": "^4.4.2",
"lockfile-lint": "^4.14.1",
"npm-check-updates": "^19.1.2",
"prettier": "^3.7.4",
"snyk": "^1.1301.0"
}
}