UNPKG

4.94 kBJSONView Raw
1{
2 "name": "connect-mongo",
3 "version": "4.6.0",
4 "description": "MongoDB session store for Express and Connect",
5 "main": "build/main/index.js",
6 "typings": "build/main/index.d.ts",
7 "keywords": [
8 "connect",
9 "mongo",
10 "mongodb",
11 "session",
12 "express"
13 ],
14 "contributors": [
15 "Casey Banner <kcbanner@gmail.com>",
16 "Jerome Desboeufs <jerome.desboeufs@gmail.com>",
17 "MC Or <mingchuno@gmail.com>"
18 ],
19 "license": "MIT",
20 "repository": {
21 "type": "git",
22 "url": "https://github.com/jdesboeufs/connect-mongo.git"
23 },
24 "bugs": {
25 "url": "https://github.com/jdesboeufs/connect-mongo/issues"
26 },
27 "scripts": {
28 "prebuild": "rm -rf build",
29 "build": "run-p build:*",
30 "build:main": "tsc -p tsconfig.json",
31 "fix": "run-s fix:*",
32 "fix:prettier": "prettier \"src/**/*.ts\" --write",
33 "fix:lint": "eslint --cache src --ext .ts --fix",
34 "test": "run-s build test:*",
35 "test:lint": "eslint --cache src --ext .ts",
36 "test:prettier": "prettier \"src/**/*.ts\" --list-different",
37 "test:unit": "nyc ava",
38 "check-cli": "run-s test diff-integration-tests check-integration-tests",
39 "check-integration-tests": "run-s check-integration-test:*",
40 "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.'",
41 "watch:build": "tsc -p tsconfig.json -w",
42 "watch:test": "nyc --silent ava --watch",
43 "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
44 "cov:html": "nyc report --reporter=html",
45 "cov:lcov": "nyc report --reporter=lcov",
46 "cov:send": "run-s cov:lcov && codecov",
47 "cov:check": "nyc report && nyc check-coverage",
48 "doc": "run-s doc:html && open-cli build/docs/index.html",
49 "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
50 "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
51 "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
52 "version": "standard-version",
53 "reset-hard": "git clean -dfx && git reset --hard && yarn",
54 "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
55 },
56 "engines": {
57 "node": ">=10"
58 },
59 "peerDependencies": {
60 "mongodb": "^4.1.0"
61 },
62 "dependencies": {
63 "debug": "^4.3.1",
64 "kruptein": "^3.0.0"
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/debug": "^4.1.7",
72 "@types/express": "^4.17.13",
73 "@types/express-session": "^1.17.4",
74 "@types/node": "^14.14.20",
75 "@types/supertest": "^2.0.10",
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": "^4.17.1",
93 "express-session": "^1.17.1",
94 "gh-pages": "^3.1.0",
95 "husky": "4",
96 "lint-staged": "^10.5.4",
97 "mongodb": "^4.1.0",
98 "npm-run-all": "^4.1.5",
99 "nyc": "^15.1.0",
100 "open-cli": "^6.0.1",
101 "prettier": "^2.2.1",
102 "standard-version": "^9.0.0",
103 "supertest": "^6.1.3",
104 "ts-node": "^9.0.0",
105 "typedoc": "^0.19.0",
106 "typescript": "^4.0.2"
107 },
108 "files": [
109 "build/main",
110 "build/module",
111 "!**/*.spec.*",
112 "!**/*.json",
113 "!build/*/test/*",
114 "CHANGELOG.md",
115 "LICENSE",
116 "README.md"
117 ],
118 "ava": {
119 "failFast": true,
120 "timeout": "60s",
121 "typescript": {
122 "rewritePaths": {
123 "src/": "build/main/"
124 }
125 },
126 "files": [
127 "!build/module/**",
128 "!src/test/testHelper.ts"
129 ]
130 },
131 "config": {
132 "commitizen": {
133 "path": "cz-conventional-changelog"
134 }
135 },
136 "prettier": {
137 "singleQuote": true,
138 "semi": false,
139 "trailingComma": "es5"
140 },
141 "nyc": {
142 "extends": "@istanbuljs/nyc-config-typescript",
143 "exclude": [
144 "**/*.spec.js"
145 ]
146 },
147 "husky": {
148 "hooks": {
149 "pre-commit": "lint-staged",
150 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
151 }
152 },
153 "lint-staged": {
154 "*.{js,ts}": [
155 "eslint --fix"
156 ]
157 }
158}