-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 1009 Bytes
/
package.json
File metadata and controls
26 lines (26 loc) · 1009 Bytes
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
{
"name": "supagrations",
"version": "1.0.0",
"description": "A node-pg-migrate boilerplate for supabase",
"main": "index.js",
"repository": "git@github.com:TimNEverett/supagrations.git",
"author": "Tim Everett <tim.neil.everett@gmail.com>",
"license": "MIT",
"private": false,
"dependencies": {
"dotenv": "^10.0.0",
"node-pg-migrate": "^6.2.1",
"pg": "^8.7.1"
},
"scripts": {
"sg:create": "node-pg-migrate create",
"sg:up": "node-pg-migrate up -f=config.json",
"sg:down": "node-pg-migrate down -f=config.json",
"sg:redo": "node-pg-migrate redo -f=config.json",
"sg:downall": "node-pg-migrate down 999 -f=config.json",
"sg:deploy:staging": "node-pg-migrate up -f=config.json --envPath=.env.staging",
"sg:deploy:prod": "node-pg-migrate up -f=config.json --envPath=.env.prod",
"sg:down:staging": "node-pg-migrate down -f=config.json --envPath=.env.staging",
"sg:down:prod": "node-pg-migrate down -f=config.json --envPath=.env.staging"
}
}