-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
44 lines (44 loc) · 1.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
{
"name": "lets-fucking-game",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "yarn workspace lets-fucking-game-dapp dev",
"build": "(yarn run 'build:hardhat' &) && yarn compile:hardhat && yarn build:dapp",
"compile:hardhat": "yarn workspace lets-fucking-game-hardhat compile:force",
"build:hardhat": "yarn workspace lets-fucking-game-hardhat build",
"build:dapp": "yarn workspace lets-fucking-game-dapp build",
"export": "yarn workspace lets-fucking-game-dapp export",
"start": "yarn workspace lets-fucking-game-dapp start",
"chain": "yarn workspace lets-fucking-game-hardhat chain:force",
"deploy": "yarn workspace lets-fucking-game-hardhat deploy",
"compile": "yarn workspace lets-fucking-game-hardhat compile",
"test:contracts": "yarn workspace lets-fucking-game-hardhat test:force",
"test:dapp": "yarn workspace lets-fucking-game-dapp test",
"coverage:contracts": "yarn workspace lets-fucking-game-hardhat test:coverage",
"lint:dapp": "yarn workspace lets-fucking-game-dapp lint",
"format:dapp": "yarn workspace lets-fucking-game-dapp format",
"format:contracts": "yarn workspace lets-fucking-game-hardhat format",
"prepare": "husky install",
"postinstall": "cd packages/dapp && yarn install",
"hook:pre-push": "cd packages/hardhat && tsc --noEmit && shellcheck bin/* && cspell lint --dot --gitignore '**/{*,''}{.,''}*' && prettier '**/{*,''}.{json,js,ts,sol}' --check && solhint 'contracts/*.sol' && eslint '**/{*,''}.{json,js,ts}'"
},
"husky": {
"hooks": {
"pre-push": "yarn run hook:pre-push"
}
},
"devDependencies": {
"husky": "^8.0.1"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/hardhat",
"**/hardhat/**",
"**"
]
}
}