-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
65 lines (65 loc) · 2.92 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
{
"name": "longshort-contracts",
"version": "1.0.0",
"main": "index.js",
"license": "BUSL-1.1",
"scripts": {
"compile": "hardhat compile",
"test": "yarn generate-all && hardhat test",
"test-compiled": "hardhat test",
"test-unit-compiled": "DONT_RUN_INTEGRATION_TESTS='true' yarn test-compiled",
"test-integration-compiled": "DONT_RUN_UNIT_TESTS='true' yarn test-compiled",
"test-unit": "yarn generate-test-contracts && yarn test-unit-compiled",
"test-integration": "yarn generate-test-contracts && yarn test-integration-compiled",
"coverage": "hardhat coverage",
"coverage-unit": "DONT_RUN_INTEGRATION_TESTS='true' hardhat coverage",
"coverage-integration": "DONT_RUN_UNIT_TESTS='true' hardhat coverage",
"res:clean": "rescript clean",
"res:build": "rescript",
"res:start": "rescript build -w",
"clean": "rm -rf artifacts cache deployments/ganache",
"lint-contracts": "solhint 'contracts/**/*.sol' --fix",
"format-contracts": "prettier --write 'contracts/**/*.sol'",
"hardhat": "hardhat",
"docgen": "hardhat docgen",
"save-deployment": "/bin/bash -c 'mkdir -p ./buildsDeployed/deployed && \\cp ./build/contracts/{FloatCapital_v0,FloatToken,LongShort,Migrations,Staker,TokenFactory,Treasury_v0,Dai}.json ./buildsDeployed/deployed/'",
"generate-contract-interfaces": "yarn compile && node ../scripts/src/AbiInterfaceGen.bs.js && rescript format -all",
"generate-test-contracts": "rm -f contracts/testing/generated/* && yarn compile --force --quiet && node ../scripts/src/MockablesGen.bs.js && yarn format-contracts && rescript format -all",
"generate-all": "yarn generate-test-contracts && yarn compile && node ../scripts/src/AbiInterfaceGen.bs.js && yarn res:build;",
"deploy": "hardhat deploy"
},
"dependencies": {
"@chainlink/contracts": "^0.1.7",
"@nomiclabs/ethereumjs-vm": "^4.2.2",
"@ryyppy/rescript-promise": "^2.1.0",
"chai": "^4.3.4",
"hardhat": "^2.6.2",
"hardhat-gas-reporter": "^1.0.4",
"random": "^3.0.6",
"seedrandom": "^3.0.5",
"solidity-coverage": "^0.7.17"
},
"devDependencies": {
"@defi-wonderland/smock": "^2.0.1",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-etherscan": "^2.1.6",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^4.4.0",
"@openzeppelin/contracts-upgradeable": "^4.4.0",
"@openzeppelin/test-helpers": "^0.5.13",
"@tenderly/hardhat-tenderly": "^1.0.12",
"bs-let": "em/bs-let-m1-compat#master",
"bs-platform": "^9.0.2",
"dotenv": "^10.0.0",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.4.6",
"hardhat-abi-exporter": "^2.4.0",
"@float-capital/hardhat-deploy": "0.9.14-ignore-admin7",
"hardhat-docgen": "^1.1.1",
"hardhat-spdx-license-identifier": "^2.0.3",
"prettier": "^2.3.2",
"prettier-plugin-solidity": "^1.0.0-beta.15",
"rescript": "^9.1.4",
"solhint": "^3.3.6"
}
}