forked from subquery/cosmos-subql-starter
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
58 lines (58 loc) · 2.69 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
{
"name": "ledger-subquery",
"version": "0.1.1",
"description": "This is the Fetch Ledger SubQuery project, an indexer for the Fetch network.",
"main": "dist/index.js",
"scripts": {
"lint": "yarn eslint ./src",
"lint:fix": "yarn eslint --fix ./src",
"build": "subql build",
"prepack": "rm -rf dist && npm build",
"test": "jest",
"codegen": "subql codegen",
"pylint-checks": "black --check --verbose src/genesis tests && isort --check-only src/genesis tests && flake8 src/genesis tests && mypy src/genesis --disable-error-code import && mypy tests --disable-error-code import",
"pylint": "black src/genesis tests && isort src/genesis tests && flake8 src/genesis tests && mypy src/genesis --disable-error-code import && mypy tests --disable-error-code import && pylint src/genesis tests",
"start:docker": "docker-compose pull && docker-compose up --remove-orphans",
"start:tracing": "docker-compose -f docker-compose.tracing.yml pull && docker-compose -f docker-compose.tracing.yml up --remove-orphans",
"stop:tracing": "docker-compose -f docker-compose.tracing.yml down",
"db:dump": "pg_dump --schema app -c --if-exists --file migrations/current_schema.sql postgres://subquery:subquery@localhost/subquery",
"db:dump:schema": "yarn db:dump --schema-only",
"dev": "docker compose down -v && subql codegen && subql build && docker compose pull && docker compose up -d --remove-orphans",
"db:dump:all": "yarn db:dump",
"db:dump:migrations": "pg_dump --schema graphile_migrate -Cc --file migrations/migration_snapshot.sql postgres://subquery:subquery@localhost/subquery",
"plv8ify": "plv8ify --input-file ./migrations/current.ts --output-folder ./migrations/ --scope-prefix '' generate && mv ./migrations/plv8ify_* ./migrations/current.sql"
},
"homepage": "https://github.com/subquery/cosmos-subql-starter",
"repository": "github:subquery/cosmos-subql-starter",
"files": [
"dist",
"schema.graphql",
"project.yaml"
],
"author": "SubQuery & Fetch.ai Teams",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-typescript": "^7.18.6",
"@cosmjs/stargate": "^0.29.5",
"@subql/cli": "^2.0.0",
"@types/jest": "^29.2.0",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"babel-jest": "^29.2.1",
"buffer": "^6.0.3",
"eslint": "^8.25.0",
"jest": "^29.2.1",
"ts-jest": "^29.0.3",
"typescript": "^4.7.4"
},
"dependencies": {
"@subql/types-cosmos": "^0.4.4-1",
"@types/node": "^17.0.21",
"graphile-migrate": "^1.4.0",
"pino": "^7.8.0",
"ts-proto": "^1.112.1",
"tslib": "^2.3.1"
}
}