-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
100 lines (100 loc) · 4.78 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@scaffold-eth/typescript",
"version": "0.2.0",
"keywords": [
"ethereum",
"react",
"uniswap",
"workspaces",
"yarn"
],
"private": true,
"scripts": {
"build": "yarn workspace @scaffold-eth/vite-app build",
"serve": "yarn workspace @scaffold-eth/vite-app serve",
"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/vite-app start",
"compile": "yarn workspace @scaffold-eth/hardhat compile",
"contracts:build": "yarn workspace @scaffold-eth/hardhat hardhat compile && yarn workspace @scaffold-eth/vite-app contracts:external",
"contracts:rebuild": "yarn workspace @scaffold-eth/hardhat hardhat clean && yarn contracts:build",
"export": "yarn workspace @scaffold-eth/hardhat export",
"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/vite-app ipfs",
"surge": "yarn workspace @scaffold-eth/vite-app surge",
"s3": "yarn workspace @scaffold-eth/vite-app s3",
"ship": "yarn workspace @scaffold-eth/vite-app ship",
"generate": "yarn workspace @scaffold-eth/hardhat generate",
"account": "yarn workspace @scaffold-eth/hardhat account",
"mine": "cd packages/hardhat-ts && npx hardhat mine",
"wallet": "cd packages/hardhat-ts && npx hardhat wallet",
"fundedwallet": "cd packages/hardhat-ts && npx hardhat fundedwallet",
"flatten": "cd packages/hardhat-ts && npx hardhat flatten",
"clean": "cd packages/hardhat-ts && 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-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",
"theme": "yarn workspace @scaffold-eth/react-app theme",
"watch-theme": "yarn workspace @scaffold-eth/react-app watch",
"prepare": "husky install",
"postinstall": "husky install"
},
"workspaces": {
"packages": [
"packages/hardhat-ts",
"packages/vite-app-ts",
"packages/services",
"packages/subgraph"
]
},
"packageManager": "yarn@3.2.0",
"devDependencies": {
"eslint": "^8.9.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"mustache": "^4.2.0",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shx": "^0.3.4"
},
"lint-staged": {
"packages/vite-app-ts/src/**/*.{ts,tsx}": [
"yarn workspace @scaffold-eth/vite-app lint --fix",
"yarn workspace @scaffold-eth/vite-app format"
],
"packages/hardhat-ts/test/**/*.ts": [
"yarn workspace @scaffold-eth/hardhat lint --fix",
"yarn workspace @scaffold-eth/hardhat format"
],
"packages/hardhat-ts/helpers/**/*.ts": [
"yarn workspace @scaffold-eth/hardhat lint --fix",
"yarn workspace @scaffold-eth/hardhat format"
],
"packages/hardhat-ts/scripts/**/*.ts": [
"yarn workspace @scaffold-eth/hardhat lint --fix",
"yarn workspace @scaffold-eth/hardhat format"
],
"packages/hardhat-ts/deploy/**/*.ts": [
"yarn workspace @scaffold-eth/hardhat lint --fix",
"yarn workspace @scaffold-eth/hardhat format"
],
"packages/hardhat-ts/**/*.sol": [
"yarn workspace @scaffold-eth/hardhat format",
"yarn workspace @scaffold-eth/hardhat solhint --fix"
]
}
}