UNPKG

@imqueue/pg-cache

Version:

PostgreSQL managed cache on Redis for @imqueue-based service methods

80 lines (79 loc) 2.95 kB
{ "name": "@imqueue/pg-cache", "version": "5.1.2", "description": "PostgreSQL managed cache on Redis for @imqueue-based service methods", "keywords": [ "cache", "caching", "cache-invalidation", "redis", "postgres", "postgresql", "listen-notify", "decorator", "imqueue", "services", "microservices", "nodejs", "typescript" ], "scripts": { "prepare": "npm run build", "build": "npm run clean-compiled && tsc", "lint": "oxlint", "format": "oxfmt \"index.ts\" \"src/**/*.ts\" \"test/**/*.ts\"", "format:check": "oxfmt --check \"index.ts\" \"src/**/*.ts\" \"test/**/*.ts\"", "test": "npm run build && node --test --test-timeout=15000 $(find test -name '*.spec.js')", "test-coverage": "npm run build && node --enable-source-maps --test --experimental-test-coverage --test-timeout=15000 $(find test -name '*.spec.js')", "test-lcov": "npm run build && mkdir -p coverage && node --enable-source-maps --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-timeout=15000 $(find test -name '*.spec.js'); node scripts/strip-comment-coverage.mjs coverage/lcov.info", "test-coverage-html": "npm run test-lcov; genhtml coverage/lcov.info --output-directory coverage/html --ignore-errors inconsistent,corrupt,format,mismatch && echo \"Coverage report: file://$(pwd)/coverage/html/index.html\"", "clean-typedefs": "find . -name '*.d.ts' -not -wholename '*node_modules*' -type f -delete", "clean-maps": "find . -name '*.js.map' -not -wholename '*node_modules*' -type f -delete", "clean-js": "find . -name '*.js' -not -wholename '*node_modules*' -not -wholename '*scripts*' -type f -delete", "clean-compiled": "npm run clean-js && npm run clean-typedefs && npm run clean-maps", "clean-tests": "rm -rf .nyc_output coverage", "clean": "npm run clean-tests && npm run clean-compiled" }, "author": "imqueue.com <support@imqueue.com>", "license": "GPL-3.0-only", "repository": { "type": "git", "url": "git+https://github.com/imqueue/pg-cache.git" }, "bugs": { "url": "https://github.com/imqueue/pg-cache/issues" }, "homepage": "https://imqueue.org/", "dependencies": { "@imqueue/pg-pubsub": "^3.0.7", "@imqueue/rpc": "^3.7.2", "@imqueue/tag-cache": "^3.0.5", "pg": "^8.22.0", "sequelize": "^6.37.8", "sequelize-typescript": "^2.1.6" }, "devDependencies": { "@types/node": "^24.13.3", "@types/pg": "^8.20.0", "oxfmt": "0.58.0", "oxlint": "1.73.0", "reflect-metadata": "^0.2.2", "typescript": "^7.0.2" }, "main": "index.js", "typescript": { "definitions": "index.d.ts" }, "type": "module", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "default": "./index.js" }, "./package.json": "./package.json" }, "engines": { "node": ">=22.12.0" } }