-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.04 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
{
"name": "@alecvision/borg",
"version": "0.4.10",
"description": "Model your data with Borg and get run-time type validation, TypeScript types, (de)serialization, and MongoDB niceties such as BSON type conversion and auto-generated validation schemas - for free. ",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"enginesStrict": true,
"files": [
"dist/*"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "vitest --coverage --ui",
"test": "vitest run --coverage && vitest typecheck --run",
"build": "tsup",
"version": "npx commit-and-tag-version",
"postversion": "git push --follow-tags origin stage",
"ci": "npm ci && npm run test && npm run build",
"release": "npm run build && npm publish --access=public",
"clean": "rm -rf dist && rm -rf coverage && rm -rf node_modules"
},
"repository": {
"type": "git",
"url": "https://github.com/alecvision/borg"
},
"keywords": [
"odm",
"object data model",
"validation",
"mongo",
"mongodb",
"typescript",
"zod",
"trpc",
"t3",
"schema",
"typesafe",
"jsonschema",
"bson",
"bsonschema"
],
"author": "Alec Helmturner",
"license": "ISC",
"devDependencies": {
"@vitest/coverage-c8": "^0.29.3",
"@vitest/ui": "^0.29.2",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
"tsup": "^6.6.3",
"typescript": "^5.0.2",
"vitest": "^0.29.3"
},
"dependencies": {
"bson": "^5.0.1"
},
"prettier": {
"semi": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 2
},
"tsup": {
"minify": true,
"minifyIdentifiers": true,
"noExternal": [
"./src/types.ts"
],
"external": [
"bson"
],
"skipNodeModulesBundle": true,
"treeshake": true,
"tsconfig": "tsconfig.json",
"define": {
"import.meta.vitest": "undefined"
},
"dts": true,
"entry": [
"./src/index.ts"
],
"outDir": "./dist",
"format": [
"esm",
"cjs"
]
}
}