-
Notifications
You must be signed in to change notification settings - Fork 434
/
package.json
41 lines (41 loc) · 2.47 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
{
"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": {
"graph-node": "docker-compose up",
"clean": "rimraf ./src/types ./build subgraph.yaml",
"prepare:hardhat": "mustache config/hardhat.json subgraph.yaml.mustache > subgraph.yaml",
"prepare:rinkeby": "mustache config/rinkeby.json subgraph.yaml.mustache > subgraph.yaml",
"prepare:mainnet": "mustache config/mainnet.json subgraph.yaml.mustache > subgraph.yaml",
"prepare:goerli": "mustache config/goerli.json subgraph.yaml.mustache > subgraph.yaml",
"prepare:sepolia": "mustache config/sepolia.json subgraph.yaml.mustache > subgraph.yaml",
"codegen": "graph codegen --output-dir src/types/",
"test:configgen": "echo libsFolder: $(dirname `cd ../..; pwd`)/nouns-monorepo/node_modules > matchstick.yaml",
"test": "graph test",
"create:localnode": "graph create --node http://localhost:8020/",
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/",
"deploy:localnode": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001/",
"deploy:hardhat": "yarn clean && yarn prepare:hardhat && yarn codegen && yarn create:localnode nounsdao/nouns-subgraph && yarn deploy:localnode nounsdao/nouns-subgraph",
"deploy:rinkeby": "yarn clean && yarn prepare:rinkeby && yarn codegen && yarn deploy nounsdao/nouns-subgraph-rinkeby",
"deploy:goerli": "yarn clean && yarn prepare:goerli && yarn codegen && yarn graph build && goldsky subgraph deploy nouns-v3-goerli/0.1.6",
"deploy:sepolia": "yarn clean && yarn prepare:sepolia && yarn codegen && yarn graph build && goldsky subgraph deploy nouns-sepolia-client-incentives/0.1.1",
"deploy:mainnet": "yarn clean && yarn prepare:mainnet && yarn codegen && yarn graph build && goldsky subgraph deploy nouns/0.2.5",
"deploy-studio:mainnet": "yarn clean && yarn prepare:mainnet && yarn codegen && yarn graph build && graph deploy --studio nouns",
"deploy-studio:sepolia": "yarn clean && yarn prepare:sepolia && yarn codegen && yarn graph build && graph deploy --studio nouns-sepolia",
"mustache": "mustache"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.51.0",
"@graphprotocol/graph-ts": "0.31.0",
"mustache": "4.2.0",
"matchstick-as": "0.5.0"
}
}