forked from nounsDAO/nouns-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.05 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
{
"name": "@nouns/subgraph",
"version": "0.1.0",
"description": "A subgraph that indexes nouns events",
"author": "Nounders",
"homepage": "https://nouns.wtf",
"license": "GPL-3.0",
"main": "build/index.js",
"directories": {
"src": "src"
},
"scripts": {
"clean": "rimraf ./src/types ./build subgraph.yaml",
"codegen": "graph codegen --output-dir src/types/",
"deploy": "graph deploy --debug --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/",
"prepare:rinkeby": "mustache config/rinkeby.json subgraph.yaml.mustache > subgraph.yaml",
"prepare:mainnet": "mustache config/mainnet.json subgraph.yaml.mustache > subgraph.yaml",
"deploy:rinkeby": "yarn clean && yarn prepare:rinkeby && yarn codegen && yarn deploy nounsdao/nouns-subgraph-rinkeby",
"deploy:mainnet": "yarn clean && yarn prepare:mainnet && yarn codegen && yarn deploy nounsdao/nouns-subgraph"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.20.1",
"@graphprotocol/graph-ts": "^0.20.0",
"mustache": "^4.2.0"
}
}