Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.63 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 3.63 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"version": "0.1.2",
"name": "mongoose-zod",
"description": "Create Mongoose schemas using Zod.",
"scripts": {
"format:check": "prettier --check **/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts,vue}",
"format:fix": "prettier --write **/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts,vue}",
"lint:eslint": "npm run lint:eslint:nocache -- --cache",
"lint:eslint:quiet": "npm run lint:eslint -- --quiet",
"lint:eslint:nocache": "eslint --ext .js,.ts,.cjs,.mjs,.tsx,.cts,.mts,.vue .",
"lint:eslint:nocache:quiet": "npm run lint:eslint:nocache -- --quiet",
"lint:eslint:vue": "npm run lint:eslint:vue:nocache -- --cache",
"lint:eslint:vue:nocache": "eslint --ext .vue .",
"lint:eslint:fix": "npm run lint:eslint:nocache -- --fix",
"lint:eslint:fix:quiet": "npm run lint:eslint:nocache:quiet -- --fix",
"lint:types": "tsc --noEmit",
"lint": "npm run lint:types && npm run lint:eslint",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test": "npm run lint && npm run test:unit",
"build": "rimraf dist && tsup src/index.ts --dts --treeshake --format esm,cjs --target=node14",
"prepublishOnly": "npm run test && npm run build"
},
"homepage": "https://github.com/andreww2012/mongoose-zod",
"repository": {
"type": "git",
"url": "https://github.com/andreww2012/mongoose-zod"
},
"bugs": {
"url": "https://github.com/andreww2012/mongoose-zod/issues/new"
},
"keywords": [
"mongoose",
"zod",
"mongodb"
],
"author": "andreww2012",
"license": "MIT",
"engines": {
"node": ">=14.13.0"
},
"type": "module",
"main": "dist/index.cjs",
"types": "dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^16.18.83",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-disable-autofix": "^4.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-no-type-assertion": "^1.3.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-security": "^2.1.1",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unicorn": "^51.0.1",
"eslint-plugin-vuejs-accessibility": "^2.2.1",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"mongodb-memory-server": "^9.1.6",
"mongoose": "6.6.5",
"mongoose-lean-defaults": "2.2.1",
"mongoose-lean-getters": "0.3.5",
"mongoose-lean-virtuals": "0.9.1",
"mongoose-long": "^0.5.1",
"prettier": "^3.2.5",
"release-it": "^16.3.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-jest-mock-import-meta": "^1.2.0",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"zod": "3.19.1"
},
"peerDependencies": {
"mongoose": "6.x <6.8",
"mongoose-lean-defaults": "2.x",
"mongoose-lean-getters": ">=0.3 <1",
"mongoose-lean-virtuals": ">=0.9 <1",
"zod": "^3.x"
},
"peerDependenciesMeta": {
"mongoose-lean-defaults": {
"optional": true
},
"mongoose-lean-getters": {
"optional": true
},
"mongoose-lean-virtuals": {
"optional": true
}
},
"dependencies": {
"patch-package": "^8.0.0"
}
}