-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
60 lines (60 loc) · 2.82 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@notestream/subgraph",
"description": "GraphQL server built with The Graph",
"version": "2.1.0",
"author": {
"name": "Tom French",
"email": "[email protected]",
"url": "https://github.com/TomAFrench/NoteStream"
},
"bugs": {
"url": "https://github.com/TomAFrench/NoteStream/issues"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.18.0",
"@graphprotocol/graph-ts": "^0.18.1",
"axios": "^0.19.0",
"fs-extra": "^8.1.0",
"handlebars": "^4.5.2",
"js-yaml": "^3.13.1",
"lint-staged": "^10.2.2",
"shx": "^0.3.2",
"typy": "^3.3.0"
},
"license": "LGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/TomAFrench/NoteStream.git"
},
"scripts": {
"precommit": "lint-staged",
"commit": "git-cz",
"clean": "shx rm -rf ./build ./src/types ./subgraph.yaml",
"codegen": "graph codegen --debug --output-dir src/types/",
"create:local": "graph create tomafrench/notestream --node http://127.0.0.1:8020",
"deploy": "graph deploy $SUBGRAPH --debug --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"deploy:goerli": "yarn prepare:goerli && SUBGRAPH=tomafrench/notestream-goerli yarn deploy",
"deploy:kovan": "yarn prepare:kovan && SUBGRAPH=tomafrench/notestream-kovan yarn deploy",
"deploy:local": "graph deploy tomafrench/notestream --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020",
"deploy:mainnet": "yarn prepare:mainnet && SUBGRAPH=tomafrench/notestream yarn deploy",
"deploy:rinkeby": "yarn prepare:rinkeby && SUBGRAPH=tomafrench/notestream-rinkeby yarn deploy",
"deploy:ropsten": "yarn prepare:ropsten && SUBGRAPH=tomafrench/notestream-ropsten yarn deploy",
"prepare:goerli": "NETWORK_NAME=goerli node ./updateAddresses.js && NETWORK_NAME=goerli node ./templatify.js",
"prepare:kovan": "NETWORK_NAME=kovan node ./updateAddresses.js && NETWORK_NAME=kovan node ./templatify.js",
"prepare:mainnet": "NETWORK_NAME=mainnet node ./updateAddresses.js && NETWORK_NAME=mainnet node ./templatify.js",
"prepare:rinkeby": "NETWORK_NAME=rinkeby node ./updateAddresses.js && NETWORK_NAME=rinkeby node ./templatify.js",
"prepare:ropsten": "NETWORK_NAME=ropsten node ./updateAddresses.js && NETWORK_NAME=ropsten node ./templatify.js",
"prepare:local": "NETWORK_NAME=local node ./updateAddresses.js && NETWORK_NAME=local node ./templatify.js",
"remove-local": "graph remove tomafrench/notestream --node http://127.0.0.1:8020/",
"reset-local": "yarn codegen && yarn remove-local && yarn create-local && yarn deploy-local",
"has:changed": "bash ../monorepo-scripts/ci/hasChanged.sh subgraph"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@graphprotocol/graph-ts": "^0.18.1"
}
}