connect-mongo
Version:
MongoDB session store for Express and Connect
154 lines (153 loc) • 4.13 kB
JSON
{
"name": "connect-mongo",
"version": "6.0.0",
"description": "MongoDB session store for Express and Connect",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"types": "./dist/index.d.cts",
"keywords": [
"connect",
"mongo",
"mongodb",
"session",
"express"
],
"contributors": [
"Casey Banner <kcbanner@gmail.com>",
"Jerome Desboeufs <jerome.desboeufs@gmail.com>",
"MC Or <mingchuno@gmail.com>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jdesboeufs/connect-mongo.git"
},
"bugs": {
"url": "https://github.com/jdesboeufs/connect-mongo/issues"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build": "tsdown",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint --cache src --ext .ts --fix",
"test": "run-s test:*",
"test:lint": "eslint --cache src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "c8 ava",
"watch:test": "c8 ava --watch",
"cov": "run-s test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "c8 report --reporter=html",
"cov:lcov": "c8 report --reporter=lcov",
"cov:send": "run-s cov:lcov && codecov",
"cov:check": "c8 report --check-coverage",
"doc": "run-s doc:html && open-cli dist/docs/index.html",
"doc:html": "typedoc --entryPointStrategy expand --entryPoints src --exclude **/*.spec.ts --out dist/docs",
"doc:json": "typedoc --entryPointStrategy expand --entryPoints src --exclude **/*.spec.ts --json dist/docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d dist/docs",
"prepare-release": "run-s test cov:check doc:html version doc:publish",
"prepare": "husky",
"tls:setup": "bash ./scripts/generate-mongo-tls.sh"
},
"engines": {
"node": ">=20.8.0"
},
"peerDependencies": {
"express-session": "^1.17.1",
"mongodb": ">=5.0.0"
},
"dependencies": {
"debug": "^4.4.3",
"kruptein": "3.0.8"
},
"devDependencies": {
"@ava/typescript": "^6.0.0",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.1",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.25",
"@types/express-session": "^1.18.2",
"@types/node": "^24.10.1",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"ava": "^6.4.1",
"c8": "^10.1.3",
"codecov": "^3.8.2",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-prettier": "^5.5.4",
"express": "^4.21.2",
"express-session": "^1.18.2",
"gh-pages": "^6.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"mongodb": "^7.0.0",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"prettier": "^3.7.3",
"standard-version": "^9.5.0",
"supertest": "^7.1.4",
"tsdown": "^0.16.8",
"typedoc": "^0.28.15",
"typescript": "^5.9.3"
},
"files": [
"dist",
"!**/*.spec.*",
"!**/*.json",
"!dist/*/test/*",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"prettier": {
"singleQuote": true,
"semi": false,
"trailingComma": "es5"
},
"c8": {
"include": [
"build/**/*.js"
],
"exclude": [
"build/**/*.{spec,test}.js",
"build/**/test/**/*.js",
"node_modules/**"
],
"reporter": [
"text",
"lcov",
"html"
],
"all": true,
"skipFull": false,
"check-coverage": true,
"branches": 85,
"functions": 85,
"lines": 85,
"statements": 85
},
"lint-staged": {
"**/*.{ts,js}": [
"eslint --cache --fix"
]
},
"standard-version": {
"skip": {
"changelog": true
}
},
"packageManager": "npm@11.6.2"
}