-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.33 KB
/
package.json
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
{
"name": "class-repo-mongo",
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"version": "0.0.6",
"description": "Reusable repository of basic classes for mongo databases.",
"author": "Vincent Gillot",
"private": false,
"repository": {
"url": "https://github.com/VincentGillot/class-repo-mongo"
},
"license": "MIT",
"files": [
"lib/**/*"
],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"scripts": {
"clean": "rm -rf ./lib",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"prepack": "npm run build",
"publish:patch": "npm version patch && npm publish --access=public"
},
"dependencies": {
"bcrypt": "^5.0.1",
"jsonwebtoken": "^9.0.0",
"mongodb": "^5.3.0",
"mongoose": "^7.0.4",
"nodemailer": "^6.9.1"
},
"devDependencies": {
"@types/bcrypt": "5.0.0",
"@types/jsonwebtoken": "^8.5.5",
"@types/node": "^18.11.9",
"@types/nodemailer": "6.4.7",
"typescript": "^5.0.2"
}
}