-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
39 lines (39 loc) · 2.27 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
{
"name": "decentraland_collections_graph",
"version": "0.1.0",
"scripts": {
"codegen": "graph codegen --output-dir src/entities/",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:sepolia": "mustache config/sepolia.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:mumbai": "mustache config/mumbai.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:amoy": "mustache config/amoy.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:matic": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:temp": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"deploy:mainnet": "npm run prepare:mainnet && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-ethereum-mainnet",
"deploy:sepolia": "npm run prepare:sepolia && npx graph deploy --studio collections-ethereum-sepolia",
"deploy:mumbai": "npm run prepare:mumbai && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-mumbai",
"deploy:amoy": "npm run prepare:amoy && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-amoy",
"deploy:matic": "npm run prepare:matic && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-mainnet",
"deploy:temp": "npm run prepare:temp && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-mainnet-temp",
"test": "graph test",
"test:docker": "npm test -- --docker"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.51.2",
"@graphprotocol/graph-ts": "^0.31.0",
"matchstick-as": "^0.5.0",
"mustache": "^4.0.1",
"prettier": "^1.19.1",
"ts-node": "^8.5.4",
"typescript": "^3.7.4"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 140
}
}