-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
114 lines (114 loc) · 3.98 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
108
109
110
111
112
113
114
{
"name": "@neondatabase/serverless",
"version": "0.10.4",
"author": "Neon",
"description": "node-postgres for serverless environments from neon.tech",
"exports": {
"require": "./index.js",
"import": "./index.mjs"
},
"license": "MIT",
"homepage": "https://neon.tech",
"repository": {
"type": "git",
"url": "https://github.com/neondatabase/serverless"
},
"keywords": [
"Neon",
"serverless",
"Postgres",
"PostgreSQL",
"pg",
"database",
"SQL",
"edge",
"workers",
"Cloudflare",
"Vercel",
"RDBMS",
"WebSocket",
"https"
],
"files": [
"index.js",
"index.d.ts",
"index.mjs",
"index.d.mts",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONFIG.md",
"DEPLOY.md"
],
"engines": {
"node": ">=19.0.0"
},
"scripts": {
"build": "./build.sh",
"preversion": "([[ $(git branch --show-current) = 'main' ]] || echo 'Must be on main') && npm run format && npm run test && git add index.js index.d.ts index.mjs index.d.mts",
"version": "(grep \"^## $(jq -r .version package.json)\" CHANGELOG.md || 'Update CHANGELOG.md') && jq --arg v \"$(jq -r .version package.json)\" '.version = $v' jsr.json > build/jsr.json && mv build/jsr.json jsr.json && git add jsr.json",
"postversion": "git push && git push --tags && npm publish && jsr publish",
"format": "prettier -c .",
"format:fix": "prettier -w .",
"test": "touch src && npm run test:node && npm run test:edge && npm run test:bun && npm run test:deno && npm run test:packages && npm run test:cloudflare && npm run test:vercel && npm run test:browser",
"test:node": "npm run build && vitest run --dir=tests/cli --environment=node --typecheck --config=tests/vite.config.mts",
"test:edge": "npm run build && vitest run --dir=tests/cli --environment=edge-runtime --config=tests/vite.config.mts",
"test:bun": "npm run build && bun run --env-file=.env.test tests/basic/basic.ts",
"test:deno": "npm run build && deno run --env-file=.env.test --allow-all tests/basic/basic.ts",
"test:packages": "npm run build && vitest run --dir=tests/packages --environment=node --config=tests/vite.config.mts",
"test:cloudflare": "npm run build && vitest run --dir=tests/cloudflare --config=tests/vite.config.mts",
"test:vercel": "npm run build && vitest run --dir=tests/vercel --config=tests/vite.config.mts",
"test:browser": "npm run build && playwright install --with-deps firefox chromium && vitest run --dir=tests/browser --browser --config=tests/browser/vite.config.mts"
},
"dependencies": {
"@types/node": "^22.10.2",
"@types/pg": "^8.8.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241230.0",
"@edge-runtime/vm": "^5.0.0",
"@microsoft/api-extractor": "^7.48.1",
"@neondatabase/serverless": "file:.",
"@prisma/adapter-neon": "^6.2.1",
"@prisma/client": "^6.2.1",
"@types/events": "^3.0.0",
"@types/ws": "^8.5.4",
"@vercel/edge": "^1.2.1",
"@vercel/sdk": "^1.2.2",
"@vitest/browser": "^3.0.7",
"assert": "file:src/shims/assert",
"buffer": "^6.0.3",
"crypto": "file:src/shims/crypto",
"dns": "file:src/shims/dns",
"drizzle-orm": "^0.40.0",
"esbuild": "^0.25.0",
"events": "^3.3.0",
"fast-equals": "^5.0.1",
"fs": "file:src/shims/fs",
"hextreme": "^1.0.7",
"jsr": "^0.13.3",
"net": "file:src/shims/net",
"node-fetch": "^3.3.2",
"npm-run-all": "^4.1.5",
"path": "file:src/shims/path",
"pg": "8.8.0",
"pg-native": "file:src/shims/pg-native",
"playwright": "^1.49.1",
"prettier": "^3.4.1",
"prisma": "^6.2.1",
"stream": "file:src/shims/stream",
"string_decoder": "file:src/shims/string_decoder",
"subtls": "^0.5.0",
"tls": "file:src/shims/tls",
"typescript": "^5.0.4",
"undici": "^7.1.0",
"url": "file:src/shims/url",
"util": "file:src/shims/util",
"vitest": "^3.0.7",
"wrangler": "^3.0.1",
"ws": "^8.12.1"
},
"overrides": {
"pg-connection-string": "2.5.0"
}
}