forked from supabase/postgres-meta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.4 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
{
"name": "@supabase/postgres-meta",
"version": "0.0.0-automated",
"description": "A RESTful API for managing your Postgres.",
"homepage": "https://github.com/supabase/postgres-meta",
"bugs": "https://github.com/supabase/postgres-meta/issues",
"license": "MIT",
"author": "Supabase",
"files": [
"dist"
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"imports": {
"#package.json": "./package.json"
},
"repository": "supabase/postgres-meta",
"scripts": {
"check": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist tsconfig.tsbuildinfo",
"format": "prettier --write '{src,test}/**/*.ts' '*.ts'",
"build": "tsc -p tsconfig.json && cpy 'src/lib/sql/*.sql' dist/lib/sql",
"docs:export": "PG_META_EXPORT_DOCS=true node --loader ts-node/esm src/server/server.ts > openapi.json",
"gen:types:typescript": "PG_META_GENERATE_TYPES=typescript node --loader ts-node/esm src/server/server.ts",
"start": "node dist/server/server.js",
"dev": "trap 'npm run db:clean' INT && run-s db:clean db:run && nodemon --exec node --loader ts-node/esm src/server/server.ts | pino-pretty --colorize",
"test": "run-s db:clean db:run test:run db:clean",
"db:clean": "cd test/db && docker-compose down",
"db:run": "cd test/db && docker-compose up --detach && sleep 5",
"test:run": "vitest run",
"test:update": "run-s db:clean db:run && vitest run --update && run-s db:clean"
},
"engines": {
"node": ">=20",
"npm": ">=9"
},
"dependencies": {
"@fastify/cors": "^9.0.1",
"@fastify/swagger": "^8.2.1",
"@fastify/type-provider-typebox": "^3.5.0",
"@sinclair/typebox": "^0.31.25",
"close-with-grace": "^1.3.0",
"crypto-js": "^4.0.0",
"fastify": "^4.24.3",
"fastify-metrics": "^10.0.0",
"pg": "^8.7.1",
"pg-connection-string": "^2.5.0",
"pg-format": "^1.0.4",
"pg-protocol": "^1.6.0",
"pgsql-parser": "^13.3.0",
"pino": "^8.6.1",
"postgres-array": "^3.0.1",
"prettier": "^3.2.5",
"prettier-plugin-sql": "0.17.1"
},
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/node": "^20.11.14",
"@types/pg": "^8.6.5",
"@types/pg-format": "^1.0.1",
"cpy-cli": "^5.0.0",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"pino-pretty": "^10.2.3",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vitest": "^1.2.2"
}
}