generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2.5 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
61
62
63
64
65
66
{
"name": "@okp4/subql-okp4",
"version": "1.0.1",
"private": false,
"description": "SubQuery Project for the OKP4 protocol",
"main": "dist/index.js",
"scripts": {
"build": "yarn subql build",
"codegen": "yarn subql codegen",
"start:docker": "docker-compose pull && docker-compose up --remove-orphans",
"restart:docker": "yarn prepack && yarn clean:data && docker-compose down && yarn start:docker",
"dev": "yarn prepack && docker-compose pull && docker-compose up --remove-orphans",
"prepack": "yarn clean:dist && yarn clean:types && yarn codegen && yarn build",
"clean": "yarn clean:types && yarn clean:data && yarn clean:dist",
"clean:types": "rm -rf src/types",
"clean:dist": "rm -rf dist",
"clean:data": "yarn clean:data-postgres",
"clean:data-postgres": "CID=$(docker ps -a -q --filter volume=subql-okp4_postgres-data) && { [ ! -z \"$CID\" ] && docker container stop $CID && docker container rm $CID; } || true; docker volume rm subql-okp4_postgres-data || echo '❌ Volume subql-okp4_postgres-data removed or did not exist'",
"test": "jest",
"test:watch": "jest --watch --no-cache",
"lint": "eslint 'src/**'",
"lint:fix": "eslint --fix 'src/**'",
"format": "prettier . --write"
},
"homepage": "https://github.com/okp4/subql-okp4",
"repository": "github:okp4/subql-okp4",
"author": {
"name": "OKP4",
"web": "https://okp4.network"
},
"engines": {
"node": "^18.18",
"yarn": "^1.22"
},
"license": "BSD-3-Clause",
"files": [
"dist",
"schema.graphql",
"project.yaml"
],
"devDependencies": {
"@cosmjs/stargate": "^0.32.3",
"@subql/cli": "4.4.1",
"@subql/node-cosmos": "3.9.2",
"@subql/testing": "2.1.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
},
"dependencies": {
"@subql/types-cosmos": "3.2.3",
"@types/node": "^20.12.2",
"pino": "^8.19.0",
"ts-proto": "^1.167.9",
"tslib": "^2.6.2"
}
}