UNPKG

syslog-portal

Version:
115 lines (114 loc) 3.19 kB
{ "name": "syslog-portal", "version": "0.2.14", "description": "A portal for ingesting syslog data", "exports": "./dist/app.js", "type": "module", "engines": { "npm": ">=8.0.0", "node": ">=18.0.0" }, "scripts": { "prepack": "npm run build", "start": "node dist/app.js", "start:dev": "NODE_CONFIG_DIR=./src/config NODE_ENV=dev nodemon", "start:services": "docker-compose up -d", "stop:services": "docker-compose down", "build": "node_modules/typescript/bin/tsc --project ./ && mkdir -p dist/config && cp src/config/*.json dist/config/", "build:docs": "typedoc src/**/*.ts --exclude node_modules/@types/node/events.d.ts ", "build:image": "docker build . -t ghcr.io/bryopsida/syslog-portal:local", "test": "NODE_CONFIG_DIR=$PWD/test/config/ NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --coverage --testPathPattern='test/.*\\.spec\\.ts'", "lint": "eslint --ext .ts src/ test/ && prettier --check .", "lint:fix": "eslint --ext .ts src/ test/ --fix && prettier --write ." }, "repository": { "type": "git", "url": "git+https://github.com/bryopsida/syslog-portal.git" }, "files": [ "dist" ], "keywords": [ "syslog", "rfc5424", "typescript", "node", "pouchdb", "couchdb", "mongodb" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/bryopsida/syslog-portal/issues" }, "homepage": "https://github.com/bryopsida/syslog-portal#readme", "devDependencies": { "@jest/globals": "29.7.0", "@promster/types": "^14.0.0", "@testcontainers/mongodb": "^10.2.0", "@types/config": "^3.3.0", "@types/jest": "^29.0.0", "@types/node": "^22.0.0", "@types/pouchdb": "^6.4.0", "@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/parser": "^5.15.0", "axios": "^1.2.2", "eslint": "^8.30.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^37.0.0", "eslint-plugin-github": "^5.0.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", "jest": "^29.0.0", "nodemon": "^3.0.0", "pino-socket": "^7.3.0", "pino-syslog": "^3.0.0", "prettier": "3.4.2", "standard": "^17.0.0", "testcontainers": "^10.0.0", "ts-jest": "29.x", "ts-node": "^10.7.0", "typedoc": "^0.27.0", "typescript": "^5.0.0" }, "bin": { "syslog-portal": "dist/app.js" }, "dependencies": { "@promster/metrics": "^10.0.0", "@promster/server": "^14.0.0", "config": "^3.3.9", "es-main": "^1.2.0", "generic-pool": "^3.9.0", "inversify": "^6.0.1", "mongodb": "^6.0.0", "pino": "^9.0.0", "pouchdb": "^9.0.0", "reflect-metadata": "^0.2.0" }, "overrides": { "semver": "7.6.3" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testTimeout": 240000, "verbose": true, "moduleNameMapper": { "(.+)\\.js": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ], "transform": { "\\.[jt]sx?$": [ "ts-jest", { "useESM": true } ] } } }