-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
51 lines (51 loc) · 2.43 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
{
"name": "@harmony-dapp-template/monorepo",
"version": "1.0.0",
"keywords": [
"dapp",
"hardhat",
"harmony",
"react",
"template"
],
"private": true,
"scripts": {
"autoinit": "./scripts/autoinit.sh",
"localnet:build": "docker build -t harmonyone/localnet docker",
"localnet:start": "docker run --name harmony-localnet --rm -d -p 9500:9500 -p 9501:9501 -p 9800:9800 -p 9801:9801 harmonyone/localnet && ./scripts/init-node.sh",
"localnet:stop": "docker rm -f harmony-localnet",
"localnet:logs": "docker logs -f harmony-localnet",
"localnet:hmy": "docker exec -it harmony-localnet hmy",
"hardhat": "yarn workspace @harmony-dapp-template/hardhat hardhat",
"hardhat:format": "yarn workspace @harmony-dapp-template/hardhat format",
"hardhat:lint": "yarn workspace @harmony-dapp-template/hardhat lint",
"hardhat:test": "yarn workspace @harmony-dapp-template/hardhat test",
"frontend:build": "yarn workspace @harmony-dapp-template/frontend build",
"frontend:deploy": "yarn workspace @harmony-dapp-template/frontend deploy",
"frontend:format": "yarn workspace @harmony-dapp-template/frontend format",
"frontend:lint": "yarn workspace @harmony-dapp-template/frontend lint",
"frontend:test": "yarn workspace @harmony-dapp-template/frontend test",
"compile": "yarn workspace @harmony-dapp-template/hardhat compile",
"format": "yarn hardhat:format && yarn frontend:format",
"fund": "yarn workspace @harmony-dapp-template/hardhat hardhat fund",
"deploy": "yarn workspace @harmony-dapp-template/hardhat deploy",
"deploy:watch": "yarn workspace @harmony-dapp-template/hardhat deploy:live",
"deploy:testnet": "yarn workspace @harmony-dapp-template/hardhat deploy:testnet",
"deploy:mainnet": "yarn workspace @harmony-dapp-template/hardhat deploy:mainnet",
"surge": "yarn workspace @harmony-dapp-template/frontend build && yarn frontend:deploy",
"surge:testnet": "yarn workspace @harmony-dapp-template/frontend build:testnet && yarn frontend:deploy",
"surge:mainnet": "yarn workspace @harmony-dapp-template/frontend build:mainnet && yarn frontend:deploy",
"start": "yarn workspace @harmony-dapp-template/frontend start",
"lint": "yarn hardhat:lint && yarn frontend:lint",
"test": "yarn hardhat:test && yarn frontend:test"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/hardhat",
"**/hardhat/**"
]
}
}