-
-
Notifications
You must be signed in to change notification settings - Fork 139
/
Copy pathpackage.json
70 lines (70 loc) · 2.46 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
{
"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": {
"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": "PG_META_EXPORT_DOCS=true ts-node-dev src/server/app.ts",
"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": ">=14 <15",
"npm": ">=7"
},
"dependencies": {
"@sinclair/typebox": "^0.21.0",
"pg": "^8.7.1",
"pg-format": "^1.0.4",
"pgsql-parser": "^13.1.11",
"pino": "^7.6.3",
"postgres-array": "^3.0.1",
"prettier": "^2.4.1",
"prettier-plugin-sql": "^0.4.0",
"sql-formatter": "^4.0.2"
},
"devDependencies": {
"@types/crypto-js": "^3.1.47",
"@types/jest": "^27.0.1",
"@types/node": "^14.0.13",
"@types/pg": "^7.14.3",
"@types/pg-format": "^1.0.1",
"@types/pino": "^7.0.5",
"cpy-cli": "^3.1.1",
"crypto-js": "^4.0.0",
"fastify": "^3.14.0",
"fastify-cors": "^5.2.0",
"fastify-swagger": "^4.7.0",
"jest": "^27.1.0",
"npm-run-all": "^4.1.5",
"pg-connection-string": "^2.5.0",
"pino-pretty": "^4.7.1",
"pkg": "^4.4.8",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"ts-node-dev": "^1.1.6",
"typescript": "^4.3.2",
"wait-for-localhost-cli": "^3.0.0"
}
}