-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
54 lines (54 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
{
"name": "query-node-root",
"version": "2.4.2",
"description": "GraphQL server and mappings. Generated with ♥ by Hydra-CLI",
"scripts": {
"build": "./build.sh",
"start": "./start.sh",
"kill": "./kill.sh",
"rebuild": "yarn db:drop && yarn clean:query-node && yarn codegen:query-node && yarn db:prepare && yarn db:migrate",
"lint": "yarn workspace query-node-mappings lint",
"checks": "yarn workspace query-node-mappings checks",
"clean": "rm -rf ./generated",
"clean:query-node": "rm -rf ./generated/graphql-server",
"processor:start": "DEBUG=${DEBUG} hydra-processor run -e generated/graphql-server/.env",
"query-node:build": "yarn workspace query-node build",
"query-node:start:dev": "yarn workspace query-node start:dev",
"query-node:start:prod": "yarn workspace query-node start:prod",
"query-node:start:prod:pm2": "yarn workspace query-node start:prod:pm2",
"query-node:start:prod:with-instrumentation": "yarn workspace query-node start:prod:with-instrumentation",
"query-node:configure": "yarn workspace query-node config:dev",
"db:up": "yarn docker:db:up",
"db:create": "yarn workspace query-node db:create",
"db:drop": "yarn workspace query-node db:drop",
"db:prepare": "yarn workspace query-node db:create && yarn workspace query-node db:sync",
"db:reset": "yarn db:drop && yarn db:prepare && yarn db:migrate",
"db:schema:migrate": "yarn workspace query-node db:migrate",
"db:processor:migrate": "hydra-processor migrate --env ../.env",
"db:migrate": "yarn db:schema:migrate && yarn db:processor:migrate",
"db:bootstrap": "yarn db:create && yarn db:prepare && yarn db:migrate",
"bootstrap": "yarn codegen && yarn db:drop && yarn db:bootstrap",
"hydra-cli": "./codegen/node_modules/.bin/hydra-cli",
"hydra-typegen": "./codegen/node_modules/.bin/hydra-typegen",
"codegen": "yarn hydra-cli codegen --schema ../../schemas/",
"codegen:noinstall": "yarn codegen --no-install",
"typegen": "rm -rf ./mappings/generated && yarn hydra-typegen typegen manifest.yml --debug",
"mappings:build": "yarn workspace query-node-mappings build",
"format": "prettier ./ --write"
},
"author": "",
"license": "ISC",
"dependencies": {
"@joystream/hydra-processor": "5.0.0-alpha.8",
"@types/bn.js": "^5.1.0",
"bn.js": "^5.2.1",
"pm2": "^5.3.0",
"tslib": "^2.0.0"
},
"volta": {
"extends": "../package.json"
},
"devDependencies": {
"node-gyp": "^9.4.0"
}
}