-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.81 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.81 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
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
61
62
{
"name": "@iexec/subgraph",
"version": "2.1.2",
"author": "iExec",
"type": "module",
"license": "Apache-2.0",
"scripts": {
"prepare": "husky",
"generate:typechain": "typechain --target ethers-v6 --out-dir generated/typechain './node_modules/@iexec/poco/build/contracts/*.json' --ts-nocheck",
"codegen": " npm run generate:typechain && graph codegen",
"build": "dotenv -e .env -- sh -c 'npm run codegen && graph build --network ${NETWORK_NAME:-bellecour}'",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "graph test unit",
"test:e2e": "mocha tests/e2e/**/*.ts",
"coverage": "graph test -- -c",
"create": "dotenv -e .env -- sh -c 'graph create ${NETWORK_NAME:-bellecour}/${DEPLOY_ENV:+$DEPLOY_ENV-}poco-v5 --node ${GRAPHNODE_URL:-http://localhost:8020}'",
"deploy": "dotenv -e .env -- sh -c 'graph deploy ${NETWORK_NAME:-bellecour}/${DEPLOY_ENV:+$DEPLOY_ENV-}poco-v5 --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --network ${NETWORK_NAME:-bellecour} --version-label ${VERSION_LABEL:-dev}'",
"deploy-studio": "dotenv -e .env -- sh -c 'graph deploy ${SUBGRAPH_SLUG} --deploy-key ${SUBGRAPH_DEPLOY_KEY} --network ${SUBGRAPH_NETWORK_NAME} --version-label ${VERSION_LABEL}'",
"update-networks": "node update-networks.js",
"all": "npm run update-networks && npm run build && npm run create && npm run deploy",
"stop-test-stack": "cd test-stack && docker compose down --remove-orphans --volumes",
"start-test-stack": "npm run stop-test-stack && cd test-stack && export NETWORK_NAME=${NETWORK_NAME:-bellecour} && tsx prepare-test-env.ts && docker compose build && docker compose up -d",
"check-format": "prettier \"(src|tests|test-stack)/**/*.{js,ts}\" --check",
"format": "prettier \"(src|tests|test-stack)/**/*.{js,ts}\" --write"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write"
]
},
"homepage": "https://github.com/iExecBlockchainComputing/PoCo-subgraph#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/iExecBlockchainComputing/PoCo-subgraph.git"
},
"bugs": {
"url": "https://github.com/iExecBlockchainComputing/PoCo-subgraph/issues"
},
"devDependencies": {
"@apollo/client": "^3.11.8",
"@graphprotocol/graph-cli": "^0.96.0",
"@graphprotocol/graph-ts": "0.35.1",
"@typechain/ethers-v6": "^0.5.1",
"@types/mocha": "^10.0.9",
"dotenv": "^16.5.0",
"dotenv-cli": "^8.0.0",
"ethers": "^6.13.5",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"matchstick-as": "^0.6.0",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"testcontainers": "^10.13.2",
"ts-node": "^10.9.2",
"tsx": "^4.19.3",
"zod": "^3.24.3"
},
"dependencies": {
"@iexec/poco": "^5.5.0"
}
}