{
  "name": "koa-session",
  "description": "Koa cookie session middleware with external store support",
  "repository": {
    "type": "git",
    "url": "git@github.com:koajs/session.git"
  },
  "version": "7.0.2",
  "keywords": [
    "koa",
    "middleware",
    "session",
    "cookie"
  ],
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.17.1",
    "@eggjs/bin": "7",
    "@eggjs/supertest": "8",
    "@eggjs/tsconfig": "1",
    "@types/crc": "^3.8.3",
    "@types/koa": "^2.15.0",
    "@types/mocha": "10",
    "@types/node": "22",
    "eslint": "8",
    "eslint-config-egg": "14",
    "koa": "2",
    "mm": "4",
    "rimraf": "6",
    "snap-shot-it": "^7.9.10",
    "tshy": "3",
    "tshy-after": "1",
    "typescript": "5"
  },
  "license": "MIT",
  "dependencies": {
    "crc": "^3.8.0",
    "is-type-of": "^2.2.0",
    "zod": "^3.24.1"
  },
  "engines": {
    "node": ">= 18.19.0"
  },
  "scripts": {
    "lint": "eslint --cache src test --ext .ts",
    "pretest": "npm run clean && npm run lint -- --fix",
    "test": "egg-bin test",
    "preci": "npm run clean &&  npm run lint",
    "ci": "egg-bin cov",
    "postci": "npm run prepublishOnly && npm run clean",
    "clean": "rimraf dist",
    "prepublishOnly": "tshy && tshy-after && attw --pack"
  },
  "type": "module",
  "tshy": {
    "exports": {
      ".": "./src/index.ts",
      "./package.json": "./package.json"
    }
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.js"
      }
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "src"
  ],
  "types": "./dist/commonjs/index.d.ts",
  "main": "./dist/commonjs/index.js",
  "module": "./dist/esm/index.js"
}
