UNPKG

@imqueue/pg-cache

Version:

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

104 lines (103 loc) 3.42 kB
{ "name": "@imqueue/pg-cache", "version": "4.0.0", "description": "PostgreSQL managed cache on Redis for @imqueue-based service methods", "keywords": [ "cache", "redis", "postgres", "postgresql", "imqueue", "services" ], "scripts": { "prepublishOnly": "npm run build", "clean:dts": "find . -name '*.d.ts' -not -wholename '*node_modules*' -type f -delete", "clean:map": "find . -name '*.js.map' -not -wholename '*node_modules*' -type f -delete", "clean:js": "find . -name '*.js' -not -wholename '*node_modules*' -not -wholename '*bin*' -type f -delete", "clean:build": "rm -rf ./node_modules/@types ; find . -name '*.js.map' -type f -delete ; find . -name '*.ts' -type f -delete", "clean:test": "rm -rf .nyc_output coverage", "clean:doc": "rm -rf docs", "clean:wiki": "rm -rf wiki", "clean": "npm run clean:test ; npm run clean:dts ; npm run clean:map ; npm run clean:js ; npm run clean:doc ; npm run clean:wiki", "build": "tsc", "mocha": "nyc mocha", "show:test": "/usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/coverage/index.html',{wait:false}))\"", "show:doc": "/usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/docs/index.html',{wait:false}))\"", "test": "npm run build && npm run mocha && npm run show:test", "doc": "npm run clean && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(debug|test|node_modules|docs|coverage|.nyc_output|examples)/**/*\" --out ./docs . && npm run show:doc", "help": "npm-scripts-help" }, "author": "imqueue.com <support@imqueue.com>", "license": "GPL-3.0-only", "repository": { "type": "git", "url": "git://github.com/imqueue/pg-pubsub.git" }, "bugs": { "url": "https://github.com/imqueue/pg-cache/issues" }, "homepage": "https://github.com/imqueue/pg-cache", "dependencies": { "@imqueue/core": "^2.0.2", "@imqueue/pg-pubsub": "^2.0.0", "@imqueue/rpc": "^2.0.4", "@imqueue/tag-cache": "^2.0.0", "pg": "^8.16.3", "sequelize": "^6.37.7", "sequelize-typescript": "^2.1.6" }, "devDependencies": { "@types/chai": "^5.2.2", "@types/mocha": "^10.0.10", "@types/mock-require": "^3.0.0", "@types/node": "^24.0.10", "@types/pg": "^8.15.4", "@types/sequelize": "^4.28.20", "@types/sinon": "^17.0.4", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "@typescript-eslint/typescript-estree": "^8.35.1", "chai": "^5.2.0", "coveralls": "^3.1.1", "eslint": "^9.30.1", "glob": "^11.0.3", "minimist": "^1.2.8", "mocha": "^11.7.1", "mocha-lcov-reporter": "^1.3.0", "mock-require": "^3.0.3", "npm-scripts-help": "^0.8.0", "nyc": "^17.1.0", "open": "^10.1.2", "sinon": "^21.0.0", "source-map-support": "^0.5.21", "ts-node": "^10.9.2", "typedoc": "^0.28.7", "typedoc-plugin-markdown": "^4.7.0", "typescript": "^5.8.3" }, "main": "index.js", "typescript": { "definitions": "index.d.ts" }, "nyc": { "check-coverage": true, "extension": [ ".ts" ], "exclude": [ "**/*.d.ts", "**/test/**", "**/examples/**" ], "require": [ "ts-node/register" ], "reporter": [ "html", "text", "text-summary", "lcovonly" ] } }