-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.48 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "@notross/mongo-singleton",
"version": "2.0.2",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"keywords": [
"mongodb",
"mongo",
"database",
"db",
"singleton",
"connection",
"shared-connection",
"connection-pool",
"nodejs",
"node",
"typescript",
"ts",
"client",
"wrapper",
"utility",
"reusable"
],
"description": "A lightweight, zero-fuss way to get a single shared MongoDB connection across your Node.js codebase.",
"license": "MIT",
"author": {
"name": "Ross Libby",
"email": "dev@rosslibby.com",
"url": "https://rosslibby.com",
"github": "https://github.com/rosslibby"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rosslibby/mongo-singleton.git"
},
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "yarn build:cjs && yarn build:esm",
"dev": "nodemon --exec ts-node src/index.ts",
"prepare": "ts-node prepare-package.ts"
},
"devDependencies": {
"@types/mongodb": "^4.0.7",
"@types/node": "^22.1.0",
"nodemon": "^3.1.10",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@notross/node-client-logger": "^0.0.2",
"mongodb": "^6.12.0"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts"
}
}
}