forked from nounsDAO/nouns-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.92 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
{
"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",
"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 --debug --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/",
"deploy:localnode": "graph deploy --debug --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:mainnet": "yarn clean && yarn prepare:mainnet && yarn codegen && yarn deploy nounsdao/nouns-subgraph",
"deploy:goerli": "yarn clean && yarn prepare:goerli && yarn codegen && yarn deploy verbsteam/nouns-goerli",
"mustache": "mustache"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.48.0",
"@graphprotocol/graph-ts": "^0.29.3",
"mustache": "^4.2.0",
"matchstick-as": "0.4.2"
}
}