-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 2.56 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
{
"name": "@alchemix/subgraph",
"private": true,
"scripts": {
"prepare": "is-ci || husky install",
"format": "yarn lint --write",
"script": "ts-node scripts",
"print": "yarn script print-subgraph",
"abigen": "yarn script generate-abis",
"postabigen": "prettier --list-different --write abis",
"precodegen": "rimraf subgraph/generated",
"codegen": "graph codegen subgraph.js --output-dir subgraph/generated --skip-migrations",
"build": "graph build subgraph.js --skip-migrations",
"predeploy": "graph create alchemix/alchemix --node http://127.0.0.1:8020 || true",
"deploy": "graph deploy alchemix/alchemix subgraph.js --ipfs http://localhost:5001 --node http://127.0.0.1:8020/ --skip-migrations --version-label local",
"deploy-prod": "graph deploy alchemix-finance/alchemix_v2 subgraph.js --product hosted-service --skip-migrations",
"deploy-dev": "export NETWORK_NAME=mainnet; graph deploy alchemix-finance/alchemix_v2_dev subgraph.js --product hosted-service --skip-migrations",
"deploy-ftm": "export NETWORK_NAME=fantom; graph deploy alchemix-finance/alchemix_v2_ftm subgraph.ftm.js --product hosted-service --skip-migrations",
"deploy-peg": "graph deploy alchemix-finance/alcx-curve-dev subgraph.js --product hosted-service --skip-migrations",
"lint": "prettier --ignore-path .gitignore --list-different \"**/*.{ts,js,json,yaml}\"",
"deploy-alchemy-dev": "graph deploy alchemix-dev subgraph.js --version-label v0.0.2 --node https://subgraphs.alchemy.com/api/subgraphs/deploy --deploy-key $DEPLOY_KEY --ipfs https://ipfs.satsuma.xyz",
"deploy-alchemy-prod": "graph deploy alchemix-v2 subgraph.js --version-label v0.0.2 --node https://subgraphs.alchemy.com/api/subgraphs/deploy --deploy-key $DEPLOY_KEY --ipfs https://ipfs.satsuma.xyz"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.60.0",
"@graphprotocol/graph-ts": "0.32.0",
"@graphql-codegen/cli": "^2.6.2",
"@tsconfig/node16": "^1.0.2",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"@types/node": "^17.0.10",
"@types/yargs": "^17.0.8",
"dotenv": "^16.0.0",
"ethers": "^5.5.3",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"husky": "^7.0.2",
"is-ci": "^3.0.1",
"js-yaml": "^4.1.0",
"lint-staged": "^12.2.2",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.5",
"yargs": "^17.3.1"
},
"lint-staged": {
"*.{ts,js,json,yaml}": "prettier --write"
},
"dependencies": {
"@protofire/subgraph-toolkit": "0.1.2"
}
}