{
  "type": "module",
  "name": "next-session",
  "version": "4.0.5",
  "description": "Simple promise-based session for Next.js",
  "keywords": [
    "nextjs",
    "session",
    "promise",
    "express-session"
  ],
  "main": "./lib/session.cjs",
  "exports": {
    ".": {
      "import": "./lib/session.js",
      "require": "./lib/session.cjs"
    },
    "./lib/compat": {
      "import": "./lib/compat.js",
      "require": "./lib/compat.cjs"
    }
  },
  "types": "lib/session.d.ts",
  "files": [
    "lib/"
  ],
  "sideEffects": false,
  "scripts": {
    "build:commonjs": "BUILD_MODULE=commonjs babel src -d lib --extensions .ts --out-file-extension .cjs",
    "build:module": "babel src -d lib --extensions .ts",
    "build:typescript": "tsc --outDir lib --emitDeclarationOnly",
    "build": "rm -rf lib && yarn build:typescript && yarn build:commonjs && yarn build:module",
    "lint": "eslint src --ext ts --ignore-path .gitignore",
    "test:import": "cd test/import-test && rm -rf node_modules && yarn && node index.js && node index.cjs && cd ../../",
    "test:unit": "jest --coverageReporters=text-lcov > coverage.lcov",
    "test": "yarn test:unit && yarn test:import"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hoangvvo/next-session.git"
  },
  "author": "Hoang Vo (https://hoangvvo.com)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/hoangvvo/next-session/issues"
  },
  "homepage": "https://github.com/hoangvvo/next-session#readme",
  "devDependencies": {
    "@babel/cli": "^7.15.7",
    "@babel/core": "^7.15.5",
    "@babel/preset-env": "^7.15.6",
    "@babel/preset-typescript": "^7.15.0",
    "@types/cookie": "^0.4.1",
    "@types/jest": "^27.0.1",
    "@types/node": "^16.9.4",
    "@typescript-eslint/eslint-plugin": "^4.31.1",
    "@typescript-eslint/parser": "^4.31.1",
    "babel-plugin-add-import-extension": "^1.6.0",
    "eslint": "^7.32.0",
    "jest": "^27.2.0",
    "light-my-request": "^4.4.4",
    "ts-jest": "^27.0.5",
    "typescript": "^4.4.3"
  },
  "dependencies": {
    "cookie": "^0.4.1",
    "nanoid": "^3.1.25"
  },
  "engines": {
    "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
  }
}
