-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 3.77 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "@ETHChess/monorepo",
"version": "1.0.0",
"keywords": [
"ethereum",
"react",
"uniswap",
"workspaces",
"yarn"
],
"private": true,
"scripts": {
"react-app:build": "yarn workspace @ETHChess/react-app build --max-old-space-size=12288",
"react-app:eject": "yarn workspace @ETHChess/react-app eject",
"react-app:start": "yarn workspace @ETHChess/react-app start",
"react-app:server": "yarn workspace @ETHChess/server server",
"react-app:test": "yarn workspace @ETHChess/react-app test",
"react-app:lint": "yarn workspace @ETHChess/react-app lint",
"build": "yarn workspace @ETHChess/react-app build --max-old-space-size=12288",
"prettier": "yarn workspace @ETHChess/react-app prettier",
"chain": "yarn workspace @ETHChess/hardhat chain",
"fork": "yarn workspace @ETHChess/hardhat fork",
"node": "yarn workspace @ETHChess/hardhat chain",
"test": "yarn workspace @ETHChess/hardhat test",
"coverage": "yarn workspace @ETHChess/hardhat coverage",
"start": "yarn workspace @ETHChess/react-app start",
"server": "yarn workspace @ETHChess/server server",
"compile": "yarn workspace @ETHChess/hardhat compile",
"deploy": "yarn workspace @ETHChess/hardhat deploy",
"verify": "yarn workspace @ETHChess/hardhat verify",
"watch": "yarn workspace @ETHChess/hardhat watch",
"accounts": "yarn workspace @ETHChess/hardhat accounts",
"balance": "yarn workspace @ETHChess/hardhat balance",
"send": "yarn workspace @ETHChess/hardhat send",
"ipfs": "yarn workspace @ETHChess/react-app ipfs",
"surge": "yarn workspace @ETHChess/react-app surge",
"s3": "yarn workspace @ETHChess/react-app s3",
"ship": "yarn workspace @ETHChess/react-app ship",
"generate": "yarn workspace @ETHChess/hardhat generate",
"account": "yarn workspace @ETHChess/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",
"clean": "cd packages/hardhat && npx hardhat clean",
"run-graph-node": "yarn workspace @ETHChess/services run-graph-node",
"remove-graph-node": "yarn workspace @ETHChess/services remove-graph-node",
"clean-graph-node": "yarn workspace @ETHChess/services clean-graph-node",
"graph-codegen": "yarn workspace @ETHChess/subgraph graph codegen",
"graph-build": "yarn workspace @ETHChess/subgraph graph build",
"graph-create-local": "yarn workspace @ETHChess/subgraph graph create --node http://localhost:8020/ ETHChess/ETHChessMatches",
"graph-remove-local": "yarn workspace @ETHChess/subgraph graph remove --node http://localhost:8020/ ETHChess/ETHChessMatches",
"graph-deploy-local": "yarn workspace @ETHChess/subgraph graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 ETHChess/ETHChessMatches",
"graph-ship-local": "yarn graph-codegen && yarn graph-build --network localhost && yarn graph-deploy-local",
"deploy-and-graph": "yarn deploy && yarn graph-ship-local",
"theme": "yarn workspace @ETHChess/react-app theme",
"watch-theme": "yarn workspace @ETHChess/react-app watch",
"postinstall": "husky install",
"prepare": "husky install"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@graphprotocol/graph-ts",
"**/@graphprotocol/graph-ts/**",
"**/hardhat",
"**/hardhat/**",
"**/hardhat-ts",
"**/hardhat-ts/**"
]
},
"devDependencies": {
"husky": "^7.0.2",
"lint-staged": "^13.0.3"
},
"lint-staged": {
"packages/react-app/src/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix"
]
},
"dependencies": {}
}