-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.99 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
{
"name": "@scaffold-eth/monorepo",
"version": "1.0.0",
"keywords": [
"ethereum",
"react",
"uniswap",
"workspaces",
"yarn"
],
"private": true,
"scripts": {
"react-app:build": "yarn workspace @scaffold-eth/react-app build --max-old-space-size=12288",
"react-app:eject": "yarn workspace @scaffold-eth/react-app eject",
"react-app:start": "yarn workspace @scaffold-eth/react-app start",
"react-app:test": "yarn workspace @scaffold-eth/react-app test",
"build": "yarn workspace @scaffold-eth/react-app build --max-old-space-size=12288",
"chain": "yarn workspace @scaffold-eth/hardhat chain",
"fork": "yarn workspace @scaffold-eth/hardhat fork",
"node": "yarn workspace @scaffold-eth/hardhat chain",
"test": "yarn workspace @scaffold-eth/hardhat test",
"start": "yarn workspace @scaffold-eth/react-app start",
"compile": "yarn workspace @scaffold-eth/hardhat compile",
"deploy": "yarn workspace @scaffold-eth/hardhat deploy",
"watch": "yarn workspace @scaffold-eth/hardhat watch",
"accounts": "yarn workspace @scaffold-eth/hardhat accounts",
"balance": "yarn workspace @scaffold-eth/hardhat balance",
"send": "yarn workspace @scaffold-eth/hardhat send",
"ipfs": "yarn workspace @scaffold-eth/react-app ipfs",
"surge": "yarn workspace @scaffold-eth/react-app surge",
"s3": "yarn workspace @scaffold-eth/react-app s3",
"ship": "yarn workspace @scaffold-eth/react-app ship",
"generate": "yarn workspace @scaffold-eth/hardhat generate",
"account": "yarn workspace @scaffold-eth/hardhat account",
"mine": "cd packages/hardhat && npx hardhat mine",
"wallet": "cd packages/hardhat && npx hardhat wallet",
"fundedwallet": "cd packages/hardhat && npx hardhat fundedwallet",
"flatten": "cd packages/hardhat && npx hardhat flatten",
"graph-run-node": "cd docker/graph-node && docker-compose up",
"graph-remove-node": "cd docker/graph-node && docker-compose down",
"graph-prepare": "mustache packages/subgraph/config/config.json packages/subgraph/src/subgraph.template.yaml > packages/subgraph/subgraph.yaml",
"graph-codegen": "yarn workspace @scaffold-eth/subgraph graph codegen",
"graph-build": "yarn workspace @scaffold-eth/subgraph graph build",
"graph-create-local": "yarn workspace @scaffold-eth/subgraph graph create --node http://localhost:8020/ scaffold-eth/your-contract",
"graph-remove-local": "yarn workspace @scaffold-eth/subgraph graph remove --node http://localhost:8020/ scaffold-eth/your-contract",
"graph-deploy-local": "yarn workspace @scaffold-eth/subgraph graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 scaffold-eth/your-contract",
"graph-ship-local": "yarn graph-prepare && yarn graph-codegen && yarn graph-deploy-local",
"deploy-and-graph": "yarn deploy && yarn graph-ship-local"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@graphprotocol/graph-ts",
"**/@graphprotocol/graph-ts/**"
]
}
}