-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
60 lines (60 loc) · 2.64 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
{
"name": "web3-music-pipeline",
"version": "1.0.0",
"description": "",
"main": "src/index.ts",
"scripts": {
"lint": "npx eslint . --fix",
"start": "NODE_EXTRA_CA_CERTS=./db-ssl-certificate.pem ts-node src/index.ts",
"cli": "ts-node src/cli/cli.ts",
"build": "tsc",
"bootstrap-db": "NODE_EXTRA_CA_CERTS=./db-ssl-certificate.pem ts-node db/bootstrap.ts",
"serve": "source .env && DEBUG=graphile-build-pg NODE_EXTRA_CA_CERTS=./db-ssl-certificate.pem npx ts-node ./src/serve.ts --cors",
"connect-db-root": "source .env && PGPASSWORD=$POSTGRES_PASSWORD psql -d postgres -h $POSTGRES_HOST -p 5432 -U $POSTGRES_USERNAME",
"connect-db": "source .env && PGPASSWORD=$POSTGRES_PASSWORD psql -d $POSTGRES_DATABASE -h $POSTGRES_HOST -p 5432 -U $POSTGRES_USERNAME",
"save-db": "source .env && PGPASSWORD=$POSTGRES_PASSWORD pg_dump -f ./db/db_dump -b -C -d $POSTGRES_DATABASE -h $POSTGRES_HOST -p 5432 -U $POSTGRES_USERNAME",
"restore-db": "source .env && PGPASSWORD=$POSTGRES_PASSWORD psql -h $POSTGRES_HOST -p 5432 -U $POSTGRES_USERNAME -d postgres < ./db/db_dump",
"drop-db": "read -p \"u sure? ctrl-c to abort \" -n 1 -r; source .env && PGPASSWORD=$POSTGRES_PASSWORD psql -d postgres -h $POSTGRES_HOST -p 5432 -U $POSTGRES_USERNAME -c \"drop database web3_music_pipeline;\"",
"reset-db": "yarn drop-db && yarn restore-db",
"knex": "source .env && npx knex --knexfile ./db/../src/db/knexfile.ts --connection postgresql://$POSTGRES_USERNAME:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$POSTGRES_DATABASE"
},
"author": "",
"devDependencies": {
"@babel/core": "^7.17.9",
"@types/lodash": "^4.14.181",
"@types/node": "^17.0.35",
"@types/prompt": "^1.1.2",
"@types/yargs": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^8.16.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-import": "^2.26.0",
"nodemon": "^2.0.15",
"ts-node": "^10.7.0",
"typechain": "^8.0.0",
"typescript": "^4.6.4"
},
"dependencies": {
"@ethersproject/providers": "^5.6.2",
"@vscode/sqlite3": "^5.0.8",
"axios": "^0.26.1",
"dotenv": "^16.0.0",
"ethcall": "^4.4.0",
"ethers": "^5.6.2",
"graphql": "^16.3.0",
"graphql-request": "^4.2.0",
"knex": "^1.0.7",
"knex-dump": "^1.0.11",
"lodash": "^4.17.21",
"pg": "^8.7.3",
"postgraphile": "^4.12.9",
"postgraphile-plugin-connection-filter": "^2.3.0",
"prompt": "^1.2.2",
"slugify": "^1.6.5",
"sqlite3": "^5.0.3",
"yargs": "^17.4.0"
}
}