Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3.77 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@gardens/monorepo",
"version": "1.0.0",
"keywords": [
"ethereum",
"react",
"uniswap",
"workspaces",
"yarn"
],
"private": true,
"scripts": {
"submodule:get": "git submodule add -f https://github.com/1Hive/honey-pot packages/react-app && yarn submodule:install",
"submodule:install": "git submodule foreach 'git checkout gardens' && git submodule foreach yarn install",
"react-app:build": "yarn workspace @gardens/react-app build --max-old-space-size=12288",
"react-app:eject": "yarn workspace @gardens/react-app eject",
"react-app:start": "yarn workspace @gardens/react-app start",
"react-app:test": "yarn workspace @gardens/react-app test",
"build": "yarn workspace @gardens/react-app build --max-old-space-size=12288",
"chain": "yarn workspace @gardens/hardhat chain",
"fork": "yarn workspace @gardens/hardhat fork",
"node": "yarn workspace @gardens/hardhat chain",
"test": "yarn workspace @gardens/hardhat test",
"start": "yarn workspace @gardens/react-app start",
"compile": "yarn workspace @gardens/hardhat compile",
"coverage": "yarn workspace @gardens/hardhat coverage",
"deploy": "yarn workspace @gardens/hardhat deploy",
"watch": "yarn workspace @gardens/hardhat watch",
"accounts": "yarn workspace @gardens/hardhat accounts",
"balance": "yarn workspace @gardens/hardhat balance",
"send": "yarn workspace @gardens/hardhat send",
"ipfs": "yarn workspace @gardens/react-app ipfs",
"surge": "yarn workspace @gardens/react-app surge",
"s3": "yarn workspace @gardens/react-app s3",
"ship": "yarn workspace @gardens/react-app ship",
"generate": "yarn workspace @gardens/hardhat generate",
"account": "yarn workspace @gardens/hardhat account",
"mineContractAddress": "cd packages/hardhat && npx hardhat mineContractAddress",
"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 @gardens/subgraph graph codegen",
"graph-build": "yarn workspace @gardens/subgraph graph build",
"graph-create-local": "yarn workspace @gardens/subgraph graph create --node http://localhost:8020/ gardens/your-contract",
"graph-remove-local": "yarn workspace @gardens/subgraph graph remove --node http://localhost:8020/ gardens/your-contract",
"graph-deploy-local": "yarn workspace @gardens/subgraph graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 gardens/your-contract",
"graph-ship-local": "yarn graph-prepare && yarn graph-codegen && yarn graph-deploy-local",
"deploy-and-graph": "yarn deploy && yarn graph-ship-local",
"theme": "yarn workspace @gardens/react-app theme",
"watch-theme": "yarn workspace @gardens/react-app watch",
"clean": "wsrun --exclude-missing clean",
"lint": "wsrun --exclude-missing --serial lint",
"lint:fix": "wsrun --exclude-missing --stages lint:fix"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@graphprotocol/graph-ts",
"**/@graphprotocol/graph-ts/**",
"**/hardhat",
"**/hardhat/**"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.2.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"wsrun": "^5.2.4"
}
}