-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.42 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.42 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
{
"name": "princejs",
"version": "2.2.3",
"description": "An easy and fast backend framework that is among the top three — by a 13yo developer, for developers.",
"main": "dist/prince.js",
"types": "dist/prince.d.ts",
"type": "module",
"bin": {
"create-princejs": "./dist/create.js"
},
"exports": {
".": {
"import": "./dist/prince.js",
"types": "./dist/prince.d.ts"
},
"./middleware": {
"import": "./dist/middleware.js",
"types": "./dist/middleware.d.ts"
},
"./helpers": {
"import": "./dist/helpers.js",
"types": "./dist/helpers.d.ts"
},
"./scheduler": {
"import": "./dist/scheduler.js",
"types": "./dist/scheduler.d.ts"
},
"./jsx": {
"import": "./dist/jsx.js",
"types": "./dist/jsx.d.ts"
},
"./db": {
"import": "./dist/db.js",
"types": "./dist/db.d.ts"
},
"./vercel": {
"import": "./dist/adapters/vercel.js",
"types": "./dist/adapters/vercel.d.ts"
},
"./cloudflare": {
"import": "./dist/adapters/cloudflare.js",
"types": "./dist/adapters/cloudflare.d.ts"
},
"./deno": {
"import": "./dist/adapters/deno.js",
"types": "./dist/adapters/deno.d.ts"
},
"./node": {
"import": "./dist/adapters/node.js",
"types": "./dist/adapters/node.d.ts"
},
"./client": {
"import": "./dist/client.js",
"types": "./dist/client.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build:js": "bun build src/prince.ts --outdir dist --target bun --external zod --external jose && bun build src/middleware.ts --outdir dist --target bun && bun build src/helpers.ts --outdir dist --target bun && bun build src/scheduler.ts --outdir dist --target bun && bun build bin/create.ts --outdir dist --target bun && bun build src/jsx.ts --outdir dist --target bun && bun build src/db.ts --outdir dist --target bun --format esm && bun build src/client.ts --outdir dist --format esm && bun build src/adapters/vercel.ts --outdir dist/adapters --format esm && bun build src/adapters/cloudflare.ts --outdir dist/adapters --format esm && bun build src/adapters/deno.ts --outdir dist/adapters --format esm",
"build:types": "tsc --emitDeclarationOnly --skipLibCheck",
"build": "bun run build:js && bun run build:types",
"prepublishOnly": "bun run build",
"test": "bun test",
"test:watch": "bun test --watch"
},
"keywords": [
"backend",
"api",
"framework",
"bun",
"easy",
"princejs",
"rest",
"server",
"typescript",
"websocket",
"middleware",
"scheduler",
"fast",
"lightweight",
"sse",
"database",
"sqlite",
"zod",
"jose",
"jwt"
],
"author": "Matthew Michael (MatthewTheCoder1218)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MatthewTheCoder1218/princejs"
},
"bugs": {
"url": "https://github.com/MatthewTheCoder1218/princejs/issues"
},
"homepage": "https://princejs.vercel.app",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/bun": "^1.3.2",
"bun-types": "latest",
"typescript": "^5.9.3",
"zod": "^4.1.12",
"jose": "^6.1.2"
},
"peerDependencies": {
"zod": "^4.1.12",
"jose": "^6.1.2"
},
"peerDependenciesMeta": {
"zod": {
"optional": true
},
"jose": {
"optional": true
}
},
"dependencies": {}
}