Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.89 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.89 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
{
"name": "@neondatabase/serverless",
"version": "1.2.1",
"author": "Neon",
"description": "node-postgres for serverless environments from neon.com",
"exports": {
"require": "./index.js",
"import": "./index.mjs"
},
"license": "MIT",
"homepage": "https://neon.com",
"repository": {
"type": "git",
"url": "git+https://github.com/neondatabase/serverless.git"
},
"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",
"tag-release": "./tag-release.sh",
"format": "prettier -c .",
"format:diff": "fn () { prettier $1 | diff $1 -; }; fn",
"format:fix": "prettier -w .",
"test": "touch src && npm run test:type-shims && 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:type-shims": "npm run build && tsc --ignoreConfig --noEmit --strict --moduleResolution bundler --module es2022 --target es2022 tests/type-compatibility.ts",
"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 && prisma generate && 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"
},
"devDependencies": {
"@cloudflare/workers-types": "^5.20260917.1",
"@edge-runtime/vm": "^5.0.0",
"@microsoft/api-extractor": "^7.59.1",
"@neondatabase/serverless": "file:.",
"@prisma/adapter-neon": "^7.10.0",
"@prisma/client": "^7.10.0",
"@types/events": "^3.0.0",
"@types/node": "^24.13.5",
"@types/pg": "8.15.5",
"@types/ws": "^8.5.4",
"@vercel/edge": "^1.2.1",
"@vercel/sdk": "^1.28.34",
"@vitest/browser-playwright": "^4.1.11",
"assert": "file:src/shims/assert",
"buffer": "^6.0.3",
"crypto": "file:src/shims/crypto",
"dns": "file:src/shims/dns",
"dotenv": "^18.0.3",
"drizzle-orm": "^0.45.2",
"esbuild": "^0.28.2",
"events": "^3.3.0",
"fast-equals": "^6.0.4",
"fs": "file:src/shims/fs",
"hextreme": "^1.1.0",
"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.9.7",
"prisma": "^7.10.0",
"stream": "file:src/shims/stream",
"string_decoder": "file:src/shims/string_decoder",
"subtls": "^0.5.0",
"tls": "file:src/shims/tls",
"typescript": "^7.0.2",
"undici": "^8.10.0",
"url": "file:src/shims/url",
"util": "file:src/shims/util",
"vitest": "^4.1.11",
"wrangler": "4.131.0",
"ws": "^8.12.1"
},
"overrides": {
"pg-connection-string": "2.5.0",
"pg-pool": "3.10.0",
"pgpass": "1.0.5",
"@neondatabase/serverless": "file:."
}
}