-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
23 lines (23 loc) · 1.07 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
{
"dependencies": {
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@openzeppelin/contracts": "^5.0.1",
"dotenv": "^16.3.1",
"openzeppelin-solidity": "^4.0"
},
"devDependencies": {
"concurrently": "^8.2.2",
"hardhat": "^2.19.4"
},
"scripts": {
"server": "node ./apps/server/src/index.js",
"compile": "rm -rf ./artifacts && rm -rf ./apps/frontend/src/artifacts && rm -rf ./apps/server/src/artifacts && npx hardhat compile",
"dapp": "cd ./apps/frontend && npm start",
"help": "echo 'Available scripts: server, compile, deployLocalhost, deploySepolia, dapp, flightsuretyLocalhost, flightsuretySepolia'",
"deployLocalhost": "npx hardhat run scripts/deploy.ts --network localhost",
"deploySepolia": "npx hardhat run scripts/deploy.ts --network sepolia",
"flightsuretyLocalhost": "npm run compile && concurrently \"npx hardhat node\" \"npm run deployLocalhost\" \"npm run dapp\"",
"flightsuretySepolia": "npm run compile && concurrently \"npx hardhat node\" \"npm run deploySepolia\" \"npm run dapp\""
}
}