forked from argotorg/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.4 KB
/
Copy pathpackage.json
File metadata and controls
30 lines (30 loc) · 1.4 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
{
"name": "sourcify-database",
"version": "2.10.0",
"private": true,
"description": "The Sourcify database",
"main": "index.js",
"scripts": {
"sourcify:database": "node scripts.mjs ",
"migrate:setup": "TEMP_DIR=migrations-temp-${SERVICE_NAME:-default} && rm -rf $TEMP_DIR && mkdir -p $TEMP_DIR && ln -sf $PWD/database-specs/migrations/* $PWD/$TEMP_DIR/ && ln -sf $PWD/migrations/* $PWD/$TEMP_DIR/",
"migrate:up": "npm run migrate:setup && DBMATE_MIGRATIONS_DIR=./migrations-temp-${SERVICE_NAME:-default} dbmate up",
"migrate:up-no-dump": "npm run migrate:setup && DBMATE_MIGRATIONS_DIR=./migrations-temp-${SERVICE_NAME:-default} dbmate --no-dump-schema up",
"migrate:rollback": "npm run migrate:setup && DBMATE_MIGRATIONS_DIR=./migrations-temp-${SERVICE_NAME:-default} dbmate rollback",
"migrate:new": "DBMATE_MIGRATIONS_DIR=./migrations dbmate new",
"migrate:create-db": "dbmate create",
"migrate:drop-db": "dbmate drop",
"migrate:load-schema": "dbmate load",
"migrate:status": "npm run migrate:setup && DBMATE_MIGRATIONS_DIR=./migrations-temp-${SERVICE_NAME:-default} dbmate status",
"massive-replace": "ts-node massive-replace-script/massive-replace-script.ts"
},
"author": "",
"license": "MIT",
"dependencies": {
"commander": "12.1.0",
"dbmate": "2.28.0",
"dotenv": "16.6.1",
"ethers": "6.15.0",
"pg": "8.16.3",
"readdirp": "3.6.0"
}
}