forked from supabase/postgres-meta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.58 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"
],
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"repository": "supabase/postgres-meta",
"scripts": {
"check": "tsc --project tsconfig.server.json --noEmit",
"clean": "rimraf bin dist",
"format": "prettier --write \"{src,test}/**/*.ts\"",
"build": "run-s clean build:*",
"build:main": "tsc -p tsconfig.json && cpy 'src/lib/sql/*.sql' dist/main/sql",
"build:module": "tsc -p tsconfig.module.json && cpy 'src/lib/sql/*.sql' dist/module/sql",
"build:server": "tsc -p tsconfig.server.json && cpy 'src/lib/sql/*.sql' bin/src/lib/sql",
"docs:export": "ts-node-dev --quiet src/server/app.ts docs export > openapi.json",
"gen:types:typescript": "ts-node-dev --quiet src/server/app.ts gen types typescript",
"start": "NODE_ENV=production node bin/src/server/app.js",
"dev": "trap 'npm run db:clean' INT && run-s db:clean db:run && NODE_ENV=development ts-node-dev src/server/app.ts | pino-pretty --colorize",
"pkg": "run-s clean build:server && pkg --out-path bin .pkg.config.json",
"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": "jest --runInBand",
"test:update": "run-s db:clean db:run && jest --runInBand --updateSnapshot && run-s db:clean"
},
"engines": {
"node": ">=16",
"npm": ">=8"
},
"dependencies": {
"@sinclair/typebox": "^0.25.1",
"pg": "^8.7.1",
"pg-format": "^1.0.4",
"pgsql-parser": "^13.3.0",
"postgres-array": "^3.0.1",
"prettier": "^2.6.0",
"prettier-plugin-sql": "^0.12.1"
},
"devDependencies": {
"@fastify/cors": "^8.2.0",
"@types/crypto-js": "^4.1.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.18.3",
"@types/pg": "^8.6.5",
"@types/pg-format": "^1.0.1",
"cpy-cli": "^4.1.0",
"crypto-js": "^4.0.0",
"fastify": "^4.8.1",
"fastify-metrics": "^10.0.0",
"fastify-swagger": "^5.0.0",
"jest": "^27.1.0",
"npm-run-all": "^4.1.5",
"pg-connection-string": "^2.5.0",
"pino": "^8.6.1",
"pino-pretty": "^9.1.1",
"pkg": "^5.5.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"ts-node-dev": "^2.0.0",
"typescript": "~4.9",
"wait-for-localhost-cli": "^3.0.0"
}
}