generated from scaffold-eth/scaffold-eth-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 5.24 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "@scaffold-eth/typescript",
"version": "0.4.0",
"keywords": [
"ethereum",
"react",
"uniswap",
"workspaces",
"yarn"
],
"private": true,
"scripts": {
"@🔖🔖🔖🔖🔖 react 🔖🔖🔖🔖🔖 ": "echo 📖 react vite-app commands",
"start": "yarn start:vite",
"build": "yarn build:vite",
"start:vite": "yarn workspace @scaffold-eth/vite-app start",
"build:vite": "yarn workspace @scaffold-eth/vite-app build",
"@🔖🔖🔖🔖🔖 nextjs 🔖🔖🔖🔖🔖 ": "echo 📖 react nextjs-app commands",
"start:nextjs": "yarn workspace @scaffold-eth/nextjs-app dev",
"build:nextjs": "yarn workspace @scaffold-eth/nextjs-app build",
"@🔖🔖🔖🔖🔖 hardhat 🔖🔖🔖🔖🔖 ": "echo 📖 hardhat commands",
"contracts:build": "yarn workspace @scaffold-eth/hardhat compile && yarn workspace @scaffold-eth/common contracts:hardhat && yarn workspace @scaffold-eth/common contracts:external",
"contracts:rebuild": "yarn workspace @scaffold-eth/hardhat clean && yarn contracts:build",
"contracts:deploy": "yarn workspace @scaffold-eth/hardhat deploy",
"chain": "yarn workspace @scaffold-eth/hardhat chain",
"deploy": "yarn contracts:deploy",
"@🔖🔖🔖🔖🔖 commands 🔖🔖🔖🔖🔖 ": "echo 📖 commands",
"hardhat": "yarn workspace @scaffold-eth/hardhat hardhat",
"test": "yarn workspace @scaffold-eth/hardhat test",
"@🔖🔖🔖🔖🔖 workspaces 🔖🔖🔖🔖🔖 ": "echo 📖 workspace commands",
"w:hardhat": "yarn workspace @scaffold-eth/hardhat",
"w:vite": "yarn workspace @scaffold-eth/vite-app",
"w:nextjs": "yarn workspace @scaffold-eth/nextjs-app",
"w:subgraph": "yarn workspace @scaffold-eth/subgraph",
"@🔖🔖🔖🔖🔖 ethereum helpers 🔖🔖🔖🔖🔖": "echo 📖 ethereum helper commands",
"generate": "yarn workspace @scaffold-eth/hardhat generate",
"account": "yarn workspace @scaffold-eth/hardhat account",
"@🔖🔖🔖🔖🔖 deployment 🔖🔖🔖🔖🔖": "echo 📖 deployment to external services commands",
"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",
"@🔖🔖🔖🔖🔖 utilities 🔖🔖🔖🔖🔖": "echo 📖 utilities commands",
"syncpack:fix": "yarn syncpack fix-mismatches",
"prepare": "husky install",
"postinstall": "husky install",
"lint": "yarn workspace @scaffold-eth/vite-app lint --fix && yarn workspace @scaffold-eth/common lint --fix && yarn workspace @scaffold-eth/hardhat lint --fix && yarn workspace @scaffold-eth/nextjs-app lint --fix",
"@🔖🔖🔖🔖🔖 dev linking with yalc 🔖🔖🔖🔖🔖": "echo 📖 dev tools",
"dev:link:components": "yarn workspace @scaffold-eth/vite-app dev:link:components && yarn workspace @scaffold-eth/common dev:link:components",
"dev:link:hooks": "yarn workspace @scaffold-eth/vite-app dev:link:hooks && yarn workspace @scaffold-eth/common dev:link:hooks",
"dev:unlink": "yarn workspace @scaffold-eth/vite-app dev:unlink && yarn workspace @scaffold-eth/vite-app dev:unlink && yarn workspace @scaffold-eth/common dev:unlink && yarn workspace @scaffold-eth/common dev:unlink"
},
"workspaces": {
"packages": [
"packages/common",
"packages/hardhat-ts",
"packages/vite-app-ts",
"packages/next-app-ts",
"packages/advanced/subgraph",
"packages/advanced/services/*",
"packages/*"
]
},
"packageManager": "[email protected]",
"devDependencies": {
"cross-env": "^7.0.3",
"eslint": "^8.17.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.1",
"prettier": "^2.7.0",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shx": "^0.3.4",
"syncpack": "^8.0.0",
"ts-node": "^10.8.1"
},
"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/nextjs-app-ts/src/**/*.{ts,tsx}": [
"yarn workspace @scaffold-eth/nextjs-app lint --fix",
"yarn workspace @scaffold-eth/nextjs-app format"
],
"packages/common/src/**/*.{ts,tsx}": [
"yarn workspace @scaffold-eth/common lint --fix",
"yarn workspace @scaffold-eth/common 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/tasks/**/*.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"
]
},
"volta": {
"node": "16.15.0"
},
"dependencies": {
"usehooks-ts": "^2.5.4"
}
}