-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 1.43 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
{
"name": "@pxlgen/subgraph",
"version": "0.1.0",
"scripts": {
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:rinkeby": "mustache config/rinkeby.json subgraph.template.yaml > subgraph.yaml",
"prepare:local": "mustache config/local.json subgraph.template.yaml > subgraph.yaml",
"build-contract": "solc contracts/Gravity.sol --abi -o abis --overwrite && solc contracts/Gravity.sol --bin -o bin --overwrite",
"create": "graph create pxlgen/pxlgen-subgraph --node https://api.thegraph.com/deploy/",
"create-local": "graph create pxlgen/pxlgen-subgraph --node http://127.0.0.1:8020",
"codegen": "graph codegen",
"codegen:local": "yarn prepare:local & graph codegen",
"build": "graph build",
"deploy": "graph deploy pxlgen/pxlgen-subgraph --debug --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy-local": "graph deploy pxlgen/pxlgen-subgraph --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"deploy-local-full": "yarn create-local && yarn codegen:local && yarn deploy-local"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.20.0",
"@graphprotocol/graph-ts": "^0.20.0",
"mustache": "^4.1.0"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"babel-register": "^6.26.0",
"truffle": "^5.0.4",
"truffle-contract": "^4.0.5",
"truffle-hdwallet-provider": "^1.0.4"
}
}