forked from andreww2012/mongoose-zod
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
107 lines (107 loc) · 3.09 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
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
{
"version": "0.1.1",
"name": "mongoose-zod",
"description": "Create Mongoose schemas using Zod.",
"scripts": {
"lint:eslint": "eslint **/*.{js,jsx,csj,mjs,ts,tsx,cts,mts}",
"lint:eslint:fix": "eslint **/*.{js,jsx,csj,mjs,ts,tsx,cts,mts} --fix",
"lint:editorconfig": "editorconfig-checker",
"lint:types": "tsc --noEmit",
"lint": "npm run lint:editorconfig && 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.0.0"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"endOfLine": "lf"
},
"devDependencies": {
"@tsconfig/node14": "^1.0.3",
"@types/jest": "^29.4.0",
"@types/lodash": "^4.14.186",
"@types/node": "^16.11.62",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"editorconfig-checker": "^5.0.1",
"eslint": "^8.33.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-require-extensions": "^0.1.1",
"eslint-plugin-sonarjs": "^0.18.0",
"eslint-plugin-unicorn": "^45.0.2",
"jest": "^29.4.1",
"lodash": "^4.17.21",
"mongodb-memory-server": "^8.9.3",
"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": "^2.8.3",
"release-it": "^15.6.0",
"rimraf": "^4.1.2",
"ts-jest": "^29.0.5",
"ts-jest-mock-import-meta": "^1.0.0",
"ts-node": "^10.9.1",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"zod": "^3.19.1"
},
"peerDependencies": {
"mongoose": "6.x",
"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
}
}
}