-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.74 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 3.74 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
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "baobox",
"version": "0.1.1-rc.4",
"description": "TypeScript-native schema library optimised for Bun — a lean, Bun-first reimagining of TypeBox",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"packageManager": "bun@1.3.11",
"repository": {
"type": "git",
"url": "git+https://github.com/d4551/baobox.git"
},
"homepage": "https://github.com/d4551/baobox#readme",
"bugs": {
"url": "https://github.com/d4551/baobox/issues"
},
"publishConfig": {
"access": "public"
},
"files": [
"src",
"dist",
"docs",
"README.md"
],
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./type": {
"bun": "./src/type/index.ts",
"import": "./dist/type/index.js",
"types": "./dist/type/index.d.ts"
},
"./value": {
"bun": "./src/value/index.ts",
"import": "./dist/value/index.js",
"types": "./dist/value/index.d.ts"
},
"./schema": {
"bun": "./src/schema/index.ts",
"import": "./dist/schema/index.js",
"types": "./dist/schema/index.d.ts"
},
"./error": {
"bun": "./src/error/index.ts",
"import": "./dist/error/index.js",
"types": "./dist/error/index.d.ts"
},
"./compile": {
"bun": "./src/compile/index.ts",
"import": "./dist/compile/index.js",
"types": "./dist/compile/index.d.ts"
},
"./format": {
"bun": "./src/format/index.ts",
"import": "./dist/format/index.js",
"types": "./dist/format/index.d.ts"
},
"./guard": {
"bun": "./src/guard/index.ts",
"import": "./dist/guard/index.js",
"types": "./dist/guard/index.d.ts"
},
"./system": {
"bun": "./src/system/index.ts",
"import": "./dist/system/index.js",
"types": "./dist/system/index.d.ts"
},
"./script": {
"bun": "./src/script/index.ts",
"import": "./dist/script/index.js",
"types": "./dist/script/index.d.ts"
},
"./locale": {
"bun": "./src/locale/index.ts",
"import": "./dist/locale/index.js",
"types": "./dist/locale/index.d.ts"
},
"./standard": {
"bun": "./src/standard/index.ts",
"import": "./dist/standard/index.js",
"types": "./dist/standard/index.d.ts"
},
"./typebox": {
"bun": "./src/typebox.ts",
"import": "./dist/typebox.js",
"types": "./dist/typebox.d.ts"
},
"./elysia": {
"bun": "./src/elysia/index.ts",
"import": "./dist/elysia/index.js",
"types": "./dist/elysia/index.d.ts"
}
},
"scripts": {
"build": "rm -rf dist && bun build --target=bun --root src --outdir=dist --sourcemap src/index.ts src/typebox.ts src/type/index.ts src/value/index.ts src/schema/index.ts src/error/index.ts src/compile/index.ts src/format/index.ts src/guard/index.ts src/system/index.ts src/script/index.ts src/locale/index.ts src/standard/index.ts src/shared/utils.ts src/elysia/index.ts src/cli/index.ts && bunx tsc --emitDeclarationOnly --noEmit false --project tsconfig.json --outDir dist",
"typecheck": "bunx tsc --noEmit",
"test": "bun test",
"verify": "bun run build && bun test",
"bench": "bun run bench/index.ts",
"dev": "bun --watch src/index.ts",
"publish:dry-run": "bun publish --dry-run --access public",
"prepublishOnly": "bun run verify"
},
"devDependencies": {
"bun-types": "latest",
"typebox": "^1.1.9",
"typescript": "^6.0.2"
},
"bin": {
"baobox": "./dist/cli/index.js"
},
"engines": {
"bun": ">=1.3.11"
},
"keywords": [
"typescript",
"schema",
"validation",
"json-schema",
"typebox",
"bun",
"elysia",
"eden-treaty",
"standard-schema"
],
"license": "MIT"
}