forked from aurora-is-near/example-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.49 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 1.49 KB
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": "example",
"version": "0.1.0",
"repository": "https://github.com/graphprotocol/example-subgraph",
"license": "MIT",
"scripts": {
"build-contract": "solc contracts/Gravity.sol --abi -o abis --overwrite && solc contracts/Gravity.sol --bin -o bin --overwrite",
"create": "graph create example --node https://api.thegraph.com/deploy/",
"create-local": "graph create example --node http://127.0.0.1:8020",
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy $SLUG --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --access-token $ACCESS_TOKEN",
"deploy:subgraph:aurora": "BLOCKCHAIN=aurora NETWORK=aurora SLUG=linguists/aurora-graph npm run deploy",
"deploy:subgraph:aurora-testnet": "BLOCKCHAIN=aurora-testnet NETWORK=aurora-testnet SLUG=linguists/aurora-graph-testnet npm run deploy",
"deploy-local": "graph deploy example --ipfs http://localhost:5001 --node http://127.0.0.1:8020",
"deploy:aurora": "truffle compile && export NETWORK='aurora' && truffle migrate --network aurora",
"deploy:aurora-testnet": "truffle compile && export NETWORK='aurora_testnet' && truffle migrate --network aurora_testnet"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.23.2",
"@graphprotocol/graph-ts": "^0.23.1"
},
"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"
}
}