1 | {
|
2 | "name": "connect-mongo",
|
3 | "version": "4.4.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 | "dependencies": {
|
60 | "debug": "^4.3.1",
|
61 | "kruptein": "^3.0.0",
|
62 | "mongodb": "3.6.3"
|
63 | },
|
64 | "devDependencies": {
|
65 | "@ava/typescript": "^1.1.1",
|
66 | "@commitlint/cli": "^11.0.0",
|
67 | "@commitlint/config-conventional": "^11.0.0",
|
68 | "@istanbuljs/nyc-config-typescript": "^1.0.1",
|
69 | "@types/express": "^4.17.9",
|
70 | "@types/express-session": "^1.17.3",
|
71 | "@types/mongodb": "^3.6.3",
|
72 | "@types/node": "^14.14.20",
|
73 | "@types/supertest": "^2.0.10",
|
74 | "@typescript-eslint/eslint-plugin": "^4.12.0",
|
75 | "@typescript-eslint/parser": "^4.12.0",
|
76 | "ava": "^3.12.1",
|
77 | "codecov": "^3.5.0",
|
78 | "cspell": "^4.1.0",
|
79 | "cz-conventional-changelog": "^3.3.0",
|
80 | "eslint": "^7.17.0",
|
81 | "eslint-config-prettier": "^7.1.0",
|
82 | "eslint-config-prettier-standard": "^3.0.1",
|
83 | "eslint-config-standard": "^16.0.2",
|
84 | "eslint-plugin-eslint-comments": "^3.2.0",
|
85 | "eslint-plugin-import": "^2.22.1",
|
86 | "eslint-plugin-node": "^11.1.0",
|
87 | "eslint-plugin-prettier": "^3.3.1",
|
88 | "eslint-plugin-promise": "^4.2.1",
|
89 | "eslint-plugin-standard": "^5.0.0",
|
90 | "express": "^4.17.1",
|
91 | "express-session": "^1.17.1",
|
92 | "gh-pages": "^3.1.0",
|
93 | "husky": "4",
|
94 | "lint-staged": "^10.5.4",
|
95 | "npm-run-all": "^4.1.5",
|
96 | "nyc": "^15.1.0",
|
97 | "open-cli": "^6.0.1",
|
98 | "prettier": "^2.2.1",
|
99 | "standard-version": "^9.0.0",
|
100 | "supertest": "^6.1.3",
|
101 | "ts-node": "^9.0.0",
|
102 | "typedoc": "^0.19.0",
|
103 | "typescript": "^4.0.2"
|
104 | },
|
105 | "files": [
|
106 | "build/main",
|
107 | "build/module",
|
108 | "!**/*.spec.*",
|
109 | "!**/*.json",
|
110 | "!build/*/test/*",
|
111 | "CHANGELOG.md",
|
112 | "LICENSE",
|
113 | "README.md"
|
114 | ],
|
115 | "ava": {
|
116 | "failFast": true,
|
117 | "timeout": "60s",
|
118 | "typescript": {
|
119 | "rewritePaths": {
|
120 | "src/": "build/main/"
|
121 | }
|
122 | },
|
123 | "files": [
|
124 | "!build/module/**",
|
125 | "!src/test/testHelper.ts"
|
126 | ]
|
127 | },
|
128 | "config": {
|
129 | "commitizen": {
|
130 | "path": "cz-conventional-changelog"
|
131 | }
|
132 | },
|
133 | "prettier": {
|
134 | "singleQuote": true,
|
135 | "semi": false,
|
136 | "trailingComma": "es5"
|
137 | },
|
138 | "nyc": {
|
139 | "extends": "@istanbuljs/nyc-config-typescript",
|
140 | "exclude": [
|
141 | "**/*.spec.js"
|
142 | ]
|
143 | },
|
144 | "husky": {
|
145 | "hooks": {
|
146 | "pre-commit": "lint-staged",
|
147 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
148 | }
|
149 | },
|
150 | "lint-staged": {
|
151 | "*.{js,ts}": [
|
152 | "eslint --fix"
|
153 | ]
|
154 | }
|
155 | }
|