-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.62 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
{
"name": "roles-subgraph",
"version": "1.0.0",
"author": "@OriumNetwork",
"license": "CC0-1.0",
"description": "A set of subgraphs (one for each network) for Orium Network dapps",
"directories": {
"test": "tests"
},
"scripts": {
"graph:auth": "graph auth --product hosted-service",
"build:mumbai": "node mustache.config.js mumbai && graph codegen subgraph.yaml && graph build subgraph.yaml",
"build:polygon": "node mustache.config.js polygon && graph codegen subgraph.yaml && graph build subgraph.yaml",
"build:cronos-mainnet": "node mustache.config.js cronos-mainnet && graph codegen subgraph.yaml && graph build subgraph.yaml",
"deploy:mumbai": "graph deploy --node https://api.thegraph.com/deploy/ orium-network/nft-roles-mumbai",
"deploy:polygon": "graph deploy --node https://api.thegraph.com/deploy/ orium-network/nft-roles-polygon",
"test": "node mustache.config.js polygon && graph codegen subgraph.yaml && graph test",
"coverage": "graph test -- -c",
"lint": "npx eslint src/",
"lint:fix": "npx eslint src/ --fix && npx prettier --write .",
"lint:staged": "npx lint-staged"
},
"dependencies": {
"@graphprotocol/graph-cli": "^0.55.0"
},
"devDependencies": {
"@graphprotocol/graph-ts": "^0.31.0",
"@oriumnetwork/orium-commons": "^1.0.10",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"matchstick-as": "^0.5.2",
"mustache": "^4.2.0",
"prettier": "^3.0.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:staged"
}
},
"eslintIgnore": [
"build/",
"generated/"
]
}