soluble-io/cache-interop

View on GitHub
packages/cache-redis/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@soluble/cache-redis",
  "description": "Node redis cache interop adapter",
  "version": "0.12.11",
  "license": "MIT",
  "author": {
    "name": "Vanvelthem Sébastien",
    "url": "https://github.com/belgattitude"
  },
  "homepage": "https://github.com/soluble-io/cache-interop/tree/main/packages/cache-redis",
  "repository": {
    "type": "git",
    "url": "https://github.com/soluble-io/cache-interop.git",
    "directory": "packages/cache-redis"
  },
  "keywords": [
    "cache",
    "interop",
    "node-redis",
    "redis"
  ],
  "sideEffects": false,
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.cjs",
      "import": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "?build-release": "When https://github.com/atlassian/changesets/issues/432 has a solution we can remove this trick",
    "build": "yarn clean && yarn tsup",
    "build-release": "yarn build && rimraf ./_release && yarn pack && mkdir ./_release && tar zxvf ./package.tgz --directory ./_release && rm ./package.tgz",
    "check-dist": "es-check -v",
    "check-pub": "publint --strict",
    "check-size": "size-limit",
    "ci-coverage-upload": "../../.github/scripts/download/codecov -F cacheNodeRedisUnit --dir ./coverage",
    "clean": "rimraf ./dist ./build ./coverage ./out ./_release ./node_modules/.cache",
    "dev": "tsup --watch",
    "fix-all-files": "eslint --ext .ts,.tsx,.js,.jsx,.mjs,.cjs,.mts,.cts --fix",
    "fix-staged": "lint-staged --allow-empty",
    "lint": "eslint . --ext .ts,.tsx,.js,.jsx,.mjs,.cjs,.mts,.cts --cache --cache-location ../../.cache/eslint/cache-redis.eslintcache",
    "test": "yarn run test-unit",
    "test-unit": "jest --config jest.config.js --color $@",
    "typecheck": "tsc --noEmit",
    "typecheck-build": "tsc --project tsconfig.build.json --noEmit"
  },
  "dependencies": {
    "@soluble/cache-interop": "workspace:^",
    "@soluble/dsn-parser": "workspace:^"
  },
  "devDependencies": {
    "@belgattitude/eslint-config-bases": "1.39.0",
    "@size-limit/file": "8.2.6",
    "@types/jest": "29.5.3",
    "@types/redis": "2.8.32",
    "cross-env": "7.0.3",
    "es-check": "7.1.1",
    "eslint": "8.45.0",
    "get-tsconfig": "4.6.2",
    "jest": "29.6.1",
    "publint": "0.1.16",
    "redis": "3.1.2",
    "rimraf": "5.0.1",
    "size-limit": "8.2.6",
    "ts-jest": "29.1.1",
    "tslib": "2.6.1",
    "tsup": "7.1.0",
    "typescript": "5.1.6"
  },
  "engines": {
    "node": "^14.13.1 || >=16"
  },
  "peerDependencies": {
    "@types/redis": "^2.8.25",
    "redis": "^3.0.0"
  },
  "peerDependenciesMeta": {
    "@types/redis": {
      "optional": true
    },
    "redis": {
      "optional": false
    }
  },
  "publishConfig": {
    "directory": "_release/package"
  }
}