UNPKG

4.95 kBJSONView Raw
1{
2 "name": "connect-mongo",
3 "version": "4.1.0",
4 "description": "MongoDB session store for Express and Connect",
5 "main": "build/main/index.js",
6 "typings": "build/main/index.d.ts",
7 "module": "build/module/index.js",
8 "keywords": [
9 "connect",
10 "mongo",
11 "mongodb",
12 "session",
13 "express"
14 ],
15 "contributors": [
16 "Casey Banner <kcbanner@gmail.com>",
17 "Jerome Desboeufs <jerome.desboeufs@gmail.com>",
18 "MC Or <mingchuno@gmail.com>"
19 ],
20 "license": "MIT",
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/jdesboeufs/connect-mongo.git"
24 },
25 "bugs": {
26 "url": "https://github.com/jdesboeufs/connect-mongo/issues"
27 },
28 "scripts": {
29 "prebuild": "rm -rf build",
30 "build": "run-p build:*",
31 "build:main": "tsc -p tsconfig.json",
32 "build:module": "tsc -p tsconfig.module.json",
33 "fix": "run-s fix:*",
34 "fix:prettier": "prettier \"src/**/*.ts\" --write",
35 "fix:lint": "eslint --cache src --ext .ts --fix",
36 "test": "run-s build test:*",
37 "test:lint": "eslint --cache src --ext .ts",
38 "test:prettier": "prettier \"src/**/*.ts\" --list-different",
39 "test:unit": "nyc --silent ava",
40 "check-cli": "run-s test diff-integration-tests check-integration-tests",
41 "check-integration-tests": "run-s check-integration-test:*",
42 "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
43 "watch:build": "tsc -p tsconfig.json -w",
44 "watch:test": "nyc --silent ava --watch",
45 "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
46 "cov:html": "nyc report --reporter=html",
47 "cov:lcov": "nyc report --reporter=lcov",
48 "cov:send": "run-s cov:lcov && codecov",
49 "cov:check": "nyc report && nyc check-coverage",
50 "doc": "run-s doc:html && open-cli build/docs/index.html",
51 "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
52 "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
53 "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
54 "version": "standard-version",
55 "reset-hard": "git clean -dfx && git reset --hard && yarn",
56 "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
57 },
58 "engines": {
59 "node": ">=10"
60 },
61 "dependencies": {
62 "debug": "^4.3.1",
63 "kruptein": "^2.2.3",
64 "mongodb": "^3.6.3"
65 },
66 "devDependencies": {
67 "@ava/typescript": "^1.1.1",
68 "@commitlint/cli": "^11.0.0",
69 "@commitlint/config-conventional": "^11.0.0",
70 "@istanbuljs/nyc-config-typescript": "^1.0.1",
71 "@types/express": "^4.17.9",
72 "@types/express-session": "^1.17.3",
73 "@types/mongodb": "^3.6.3",
74 "@types/mongoose": "^5.10.3",
75 "@types/node": "^14.14.20",
76 "@typescript-eslint/eslint-plugin": "^4.12.0",
77 "@typescript-eslint/parser": "^4.12.0",
78 "ava": "^3.12.1",
79 "codecov": "^3.5.0",
80 "cspell": "^4.1.0",
81 "cz-conventional-changelog": "^3.3.0",
82 "eslint": "^7.17.0",
83 "eslint-config-prettier": "^7.1.0",
84 "eslint-config-prettier-standard": "^3.0.1",
85 "eslint-config-standard": "^16.0.2",
86 "eslint-plugin-eslint-comments": "^3.2.0",
87 "eslint-plugin-import": "^2.22.1",
88 "eslint-plugin-node": "^11.1.0",
89 "eslint-plugin-prettier": "^3.3.1",
90 "eslint-plugin-promise": "^4.2.1",
91 "eslint-plugin-standard": "^5.0.0",
92 "express-session": "^1.17.1",
93 "gh-pages": "^3.1.0",
94 "husky": "4",
95 "lint-staged": "^10.5.4",
96 "mongoose": "^5.11.17",
97 "npm-run-all": "^4.1.5",
98 "nyc": "^15.1.0",
99 "open-cli": "^6.0.1",
100 "prettier": "^2.2.1",
101 "standard-version": "^9.0.0",
102 "ts-node": "^9.0.0",
103 "typedoc": "^0.19.0",
104 "typescript": "^4.0.2"
105 },
106 "files": [
107 "build/main",
108 "build/module",
109 "!**/*.spec.*",
110 "!**/*.json",
111 "!build/*/test/*",
112 "CHANGELOG.md",
113 "LICENSE",
114 "README.md"
115 ],
116 "ava": {
117 "failFast": true,
118 "timeout": "60s",
119 "typescript": {
120 "rewritePaths": {
121 "src/": "build/main/"
122 }
123 },
124 "files": [
125 "!build/module/**",
126 "!src/test/**"
127 ]
128 },
129 "config": {
130 "commitizen": {
131 "path": "cz-conventional-changelog"
132 }
133 },
134 "prettier": {
135 "singleQuote": true,
136 "semi": false,
137 "trailingComma": "es5"
138 },
139 "nyc": {
140 "extends": "@istanbuljs/nyc-config-typescript",
141 "exclude": [
142 "**/*.spec.js"
143 ]
144 },
145 "husky": {
146 "hooks": {
147 "pre-commit": "lint-staged",
148 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
149 }
150 },
151 "lint-staged": {
152 "*.{js,ts}": [
153 "eslint --fix"
154 ]
155 }
156}