1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {
- "name": "query-node-root",
- "version": "0.1.0",
- "description": "GraphQL server and mappings. Generated with \u2665 by Hydra-CLI",
- "scripts": {
- "build": "./build.sh",
- "rebuild": "yarn db:drop && yarn clean:query-node && yarn codegen:query-node && yarn db:prepare && yarn db:migrate",
- "lint": "echo \"Skippinng\"",
- "clean": "rm -rf ./generated",
- "clean:query-node": "rm -rf ./generated/graphql-server",
- "processor:bootstrap": "./bootstrap.sh",
- "processor:start": "DEBUG=${DEBUG} yarn processor:bootstrap && hydra-processor run -e ../.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: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: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",
- "db:reset": "yarn db:drop && yarn db:prepare && yarn db:migrate",
- "bootstrap": "yarn codegen && yarn db:drop && yarn db:bootstrap",
- "codegen": "hydra-cli codegen",
- "codegen:noinstall": "hydra-cli codegen --no-install",
- "typegen:configure": "NODE_URL=${NODE_URL:-ws://localhost:9000} envsub typegen.template.yml typegen.yml",
- "typegen": "rm -rf ./mappings/generated && hydra-typegen typegen manifest.yml --debug",
- "mappings:build": "yarn workspace query-node-mappings build",
- "docker:build": "docker build . -f docker/Dockerfile.hydra -t hydra-kit:latest",
- "docker:db:up": "(cd ../ && docker-compose up -d db)",
- "docker:db:migrate": "docker run --env-file .env --env DB_HOST=db --env TYPEORM_HOST=db --network container:${PWD##*/}_db_1 hydra-kit:latest yarn db:migrate",
- "docker:up": "docker-compose up -d"
- },
- "author": "",
- "license": "ISC",
- "dependencies": {
- "tslib": "^2.0.0",
- "@types/bn.js": "^4.11.6",
- "bn.js": "^5.1.2",
- "@polkadot/metadata": "^4.1.1",
- "@dzlzv/hydra-cli": "2.1.0-beta.7",
- "@dzlzv/hydra-processor": "2.1.0-beta.7"
- },
- "devDependencies": {
- "@dzlzv/hydra-typegen": "2.1.0-beta.7"
- },
- "volta": {
- "extends": "../package.json"
- }
- }
|