123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- {
- "name": "koa-redis",
- "description": "Redis storage for Koa session middleware/cache with Sentinel and Cluster support",
- "version": "4.0.1",
- "author": "dead_horse <dead_horse@qq.com>",
- "bugs": {
- "url": "https://github.com/koajs/koa-redis/issues"
- },
- "commitlint": {
- "extends": [
- "@commitlint/config-conventional"
- ]
- },
- "contributors": [
- "dead_horse <dead_horse@qq.com>",
- "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
- ],
- "dependencies": {
- "@babel/runtime": "^7.8.3",
- "co-wrap-all": "^1.0.0",
- "debug": "^4.1.1",
- "ioredis": "^4.14.1"
- },
- "devDependencies": {
- "@babel/cli": "^7.8.3",
- "@babel/core": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.8.3",
- "@babel/preset-env": "^7.8.3",
- "@commitlint/cli": "^8.3.5",
- "@commitlint/config-conventional": "^8.3.4",
- "autod": "^3.1.0",
- "co-mocha": "^1.2.2",
- "connect": "^3.7.0",
- "connect-redis": "^4.0.3",
- "eslint": "^6.8.0",
- "eslint-config-xo-lass": "^1.0.3",
- "eslint-plugin-node": "^11.0.0",
- "fixpack": "^2.3.1",
- "husky": "3.x",
- "istanbul": "^0.4.5",
- "koa": "^2.11.0",
- "koa-generic-session": "^2.0.4",
- "lint-staged": "^9.5.0",
- "mocha": "3.x",
- "remark-cli": "^7.0.1",
- "remark-preset-github": "^0.0.16",
- "rimraf": "^3.0.0",
- "should": "^13.2.3",
- "xo": "^0.25.3"
- },
- "engines": {
- "node": ">= 4"
- },
- "files": [
- "lib"
- ],
- "homepage": "https://github.com/koajs/koa-redis",
- "husky": {
- "hooks": {
- "pre-commit": "npm test",
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
- }
- },
- "keywords": [
- "cache",
- "caching",
- "client",
- "clients",
- "cluster",
- "clustering",
- "clusters",
- "express",
- "ioredis",
- "koa",
- "middleware",
- "multiple",
- "node",
- "nodes",
- "redis",
- "scale",
- "sentinal",
- "sentinals",
- "sentinel",
- "sentinels",
- "session",
- "storage",
- "store"
- ],
- "license": "MIT",
- "lint-staged": {
- "linters": {
- "*.js": [
- "xo --fix",
- "git add"
- ],
- "*.md": [
- "remark . -qfo",
- "git add"
- ],
- "package.json": [
- "fixpack",
- "git add"
- ]
- }
- },
- "main": "lib/index.js",
- "prettier": {
- "singleQuote": true,
- "bracketSpacing": true,
- "trailingComma": "none"
- },
- "remarkConfig": {
- "plugins": [
- "preset-github"
- ]
- },
- "repository": "koajs/koa-redis",
- "scripts": {
- "autod": "autod -w --prefix=^ --keep=koa -D co-mocha,mocha,istanbul,autod",
- "build": "npm run build:clean && npm run build:lib",
- "build:clean": "rimraf lib",
- "build:lib": "babel src --out-dir lib",
- "lint": "xo && remark . -qfo && eslint lib",
- "test": "npm run build && npm run lint && istanbul cover node_modules/mocha/bin/_mocha -- --require co-mocha \"test/**/*.test.js\"",
- "test-only": "mocha --require co-mocha \"test/**/*.test.js\""
- },
- "xo": {
- "prettier": true,
- "space": true,
- "extends": [
- "xo-lass"
- ],
- "overrides": [
- {
- "files": "test/**/*.js",
- "envs": [
- "mocha"
- ]
- }
- ]
- }
- }
|