-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.44 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
{
"name": "zod-to-mongodb-schema",
"version": "0.0.1",
"description": "Tool to convert Zod schemas to draft 4 JSON schemas compatible with MongoDB validation.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">= 12"
},
"scripts": {
"build": "rm -rf dist; rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"test": "jest",
"test:ci": "jest --ci",
"typecheck": "tsc",
"lint": "eslint .",
"format:check": "prettier . --check",
"format:write": "prettier . --write",
"prepublishOnly": "npm run format:check && npm run lint && npm run typecheck && npm run test:ci",
"prepare": "npm run build"
},
"keywords": [
"zod",
"draft 4",
"mongodb",
"validation",
"schema",
"convert"
],
"author": "Marces Engel <[email protected]>",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-typescript": "^11.1.1",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"eslint-plugin-import": "^2.27.5",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"rollup": "^3.23.0",
"ts-jest": "^29.1.0",
"tslib": "^2.5.2",
"typescript": "^5.0.4"
},
"peerDependencies": {
"zod": "^3.0.0"
}
}