forked from scaffold-eth/scaffold-eth
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
82 lines (82 loc) · 3.74 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
{
"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",
"react-app:lint": "yarn workspace @scaffold-eth/react-app lint",
"build": "yarn workspace @scaffold-eth/react-app build --max-old-space-size=12288",
"prettier": "yarn workspace @scaffold-eth/react-app prettier",
"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",
"verify": "yarn workspace @scaffold-eth/hardhat verify",
"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",
"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 @scaffold-eth/services run-graph-node",
"remove-graph-node": "yarn workspace @scaffold-eth/services remove-graph-node",
"clean-graph-node": "yarn workspace @scaffold-eth/services clean-graph-node",
"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-codegen && yarn graph-build --network localhost && yarn graph-deploy-local",
"deploy-and-graph": "yarn deploy && yarn graph-ship-local",
"theme": "yarn workspace @scaffold-eth/react-app theme",
"watch-theme": "yarn workspace @scaffold-eth/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/**"
]
},
"dependencies": {},
"devDependencies": {
"husky": "^7.0.2",
"lint-staged": "^13.0.3"
},
"lint-staged": {
"packages/react-app/src/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix"
]
}
}