forked from calvinheath/wheat-v1-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.55 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
{
"name": "wheat-v1-core",
"version": "1.0.0",
"description": "WHEAT Core smart contracts",
"files": [
"/contracts/**/*.sol",
"/build/contracts/*.json"
],
"dependencies": {},
"devDependencies": {
"@openzeppelin/contracts": "3.3.0",
"@truffle/hdwallet-provider": "^1.2.2",
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"ganache-cli": "^6.12.2",
"truffle": "^5.1.66",
"truffle-flattener": "^1.5.0"
},
"scripts": {
"build": "truffle compile",
"deploy": "truffle migrate",
"deploy:bscmain": "npm run set:bscmain && truffle migrate --network bscmain",
"deploy:bsctest": "npm run set:bsctest && truffle migrate --network bsctest",
"set:bscmain": "sed -i 's/NETWORK = Network[^;]*/NETWORK = Network.Bscmain/g' contracts/network/$.sol",
"set:bsctest": "sed -i 's/NETWORK = Network[^;]*/NETWORK = Network.Bsctest/g' contracts/network/$.sol",
"source": "truffle-flattener contracts/Deployer.sol | sed '/^.*SPDX-License-Identifier:.*$/d' | sed '1s/^/\\/\\/ SPDX-License-Identifier: GPL-3.0-only\\n\\n/' > Contracts.sol",
"test": "truffle test",
"test:bscmain": "GAS_LIMIT=30000000 npm run set:bscmain && truffle test",
"test:bsctest": "GAS_LIMIT=30000000 npm run set:bsctest && truffle test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GrowthDeFi/wheat-v1-core.git"
},
"author": "raugfer",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/GrowthDeFi/wheat-v1-core/issues"
},
"homepage": "https://github.com/GrowthDeFi/wheat-v1-core#readme"
}