UNPKG

@hifi/protocol

Version:

The Hifi fixed-rate, fixed-term lending protocol

134 lines (133 loc) 4.25 kB
{ "name": "@hifi/protocol", "description": "The Hifi fixed-rate, fixed-term lending protocol", "version": "1.1.1", "author": { "name": "Hifi", "email": "contact@hifi.finance", "url": "https://hifi.finance" }, "bugs": { "url": "https://github.com/hifi-finance/hifi-protocol/issues" }, "dependencies": { "@openzeppelin/contracts-upgradeable": "^4.1.0", "@paulrberg/contracts": "^3.4.0", "prb-math": "^2.2.0" }, "devDependencies": { "@codechecks/client": "^0.1.10", "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", "@ethersproject/abi": "^5.4.0", "@ethersproject/abstract-signer": "^5.4.0", "@ethersproject/bignumber": "^5.4.0", "@ethersproject/bytes": "^5.4.0", "@ethersproject/constants": "^5.4.0", "@ethersproject/providers": "^5.4.0", "@nomiclabs/hardhat-ethers": "^2.0.2", "@nomiclabs/hardhat-waffle": "^2.0.1", "@openzeppelin/hardhat-upgrades": "^1.8.2", "@typechain/ethers-v5": "^7.0.1", "@typechain/hardhat": "^2.1.0", "@types/chai": "^4.2.19", "@types/fs-extra": "^9.0.11", "@types/mocha": "^8.2.2", "@types/mocha-each": "^2.0.0", "@types/node": "^15.12.5", "@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/parser": "^4.28.0", "chai": "^4.3.4", "commitizen": "^4.2.4", "cross-env": "^7.0.3", "cz-conventional-changelog": "^3.3.0", "dotenv": "^10.0.0", "eslint": "^7.29.0", "eslint-config-prettier": "^8.3.0", "ethereum-waffle": "^3.4.0", "ethers": "^5.4.0", "evm-fp": "^1.1.2", "fs-extra": "^10.0.0", "hardhat": "^2.4.1", "hardhat-gas-reporter": "^1.0.4", "husky": "^6.0.0", "import-sort-parser-typescript": "^6.0.0", "import-sort-style-module": "^6.0.0", "lint-staged": "^11.0.0", "mocha": "^9.0.1", "mocha-each": "^2.0.1", "pinst": "^2.1.6", "prettier": "^2.3.2", "prettier-plugin-solidity": "^1.0.0-beta.11", "shelljs": "^0.8.4", "shx": "^0.3.3", "solhint": "^3.3.6", "solhint-plugin-prettier": "^0.0.5", "solidity-coverage": "^0.7.16", "ts-generator": "^0.1.1", "ts-node": "^10.0.0", "typechain": "^5.1.1", "typescript": "~4.2.4" }, "files": [ "/artifacts", "/contracts", "/typechain" ], "homepage": "https://github.com/hifi-finance/hifi-protocol#readme", "importSort": { ".js, .jsx": { "parser": "babylon", "style": "module" }, ".ts, .tsx": { "parser": "typescript", "style": "module" } }, "keywords": [ "blockchain", "ethereum", "hardhat", "lending", "smart-contracts", "solidity" ], "license": "LGPL-3.0-or-later", "peerDependencies": { "@openzeppelin/contracts-upgradeable": "^4.1.0", "@paulrberg/contracts": "^3.4.0", "prb-math": "^2.2.0" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/hifi-finance/hifi-protocol" }, "resolutions": { "@ethersproject/wallet": "^5.4.0", "@solidity-parser/parser": "^0.13.2", "ethers": "^5.4.0" }, "scripts": { "clean": "hardhat clean", "commit": "git-cz", "compile": "hardhat compile", "coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/{unit,integration}/**/*.ts\"", "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:check", "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"", "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .", "_postinstall": "husky install", "postpublish": "pinst --enable", "prepare:package": "hardhat run scripts/prepare-package.ts", "prepublishOnly": "pinst --disable", "prettier": "prettier --config ./.prettierrc --write \"**/*.{js,json,md,sol,ts}\"", "prettier:check": "prettier --check --config ./.prettierrc \"**/*.{js,json,md,sol,ts}\"", "test": "hardhat test", "test:integration": "hardhat test ./test/integration --network hardhat", "test:unit": "hardhat test ./test/unit --network hardhat", "typechain": "hardhat typechain" } }