UNPKG

test-contracts-sovryn

Version:

Smart contracts for the Sovryn protocol and external integrations.

101 lines 3.19 kB
{ "name": "test-contracts-sovryn", "version": "1.0.6", "description": "Smart contracts for the Sovryn protocol and external integrations.", "keywords": [ "Sovryn", "Bitcoin DeFi" ], "author": "Sovryn 2020", "license": "Apache-2.0", "homepage": "https://sovryn.app", "repository": { "type": "git", "url": "https://github.com/DistributedCollective/Sovryn-smart-contracts" }, "bugs": { "url": "https://github.com/DistributedCollective/Sovryn-smart-contracts/issues" }, "files": [ "artifacts/", "contracts/", "interfaces/", "scripts/contractInteraction/mainnet_contracts.json", "scripts/contractInteraction/testnet_contracts.json", "abi/" ], "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.0.1", "@nomiclabs/hardhat-ganache": "^2.0.0", "@nomiclabs/hardhat-truffle5": "^2.0.0", "@nomiclabs/hardhat-waffle": "^2.0.1", "@nomiclabs/hardhat-web3": "^2.0.0", "@openzeppelin/test-helpers": "^0.5.10", "@typechain/ethers-v5": "^7.1.2", "@typechain/hardhat": "^2.3.0", "@typechain/web3-v1": "^3.1.0", "bignumber.js": "^9.0.0", "bn.js": "^5.1.2", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-bn": "^0.2.1", "chai-string": "^1.5.0", "coveralls": "^3.1.0", "decimal.js": "10.2.0", "dirty-chai": "^2.0.1", "eslint": "^7.21.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-truffle": "^0.3.1", "ethereum-waffle": "^3.4.0", "ethereumjs-abi": "^0.6.8", "ethers": "^5.0.19", "ganache-core": "^2.10.2", "hardhat": "^2.0.11", "hardhat-abi-exporter": "^2.2.1", "hardhat-contract-sizer": "^2.0.2", "hardhat-deploy": "^0.7.0-beta.46", "hardhat-docgen": "^1.1.1", "hardhat-log-remover": "^2.0.0", "husky": "^4.3.6", "mocha": "^8.2.1", "prettier": "2.3.2", "prettier-plugin-solidity": "^1.0.0-beta.3", "sol2uml": "^1.1.17", "solhint": "^3.0.0", "solhint-plugin-prettier": "^0.0.5", "solidity-coverage": "^0.7.13", "solparse": "^2.2.8", "truffle": "^5.1.60", "typechain": "^5.1.2", "web3": "^1.3.1" }, "scripts": { "analyze-contracts": "slither .", "contract-size": "yarn run hardhat size-contracts", "coverage": "npx hardhat coverage", "doc": "yarn run hardhat docgen", "lint": "npm run lint-sol && npm run lint-js", "lint-sol": "solhint contracts/{*,**/*,**/**/*,**/**/**/*,**/**/**/**/*}.sol", "lint-js": "eslint . --ext .js", "prettier": "prettier --write .", "prettier-check": "prettier --check .", "test": "echo Executing pure Hardhat test cases ... && npx hardhat test && echo Executing test cases using Ganache ... && npx hardhat --config hardhat-ganache-tests.config.js --network ganache test", "uml": "npx sol2uml ./contracts -o UML.svg", "generate-types": "npx typechain --target=web3-v1 'abi/**/*.json' && npx typechain --target=ethers-v5 'abi/**/*.json'", "compile": "npx hardhat compile", "npm-publish": "npm run compile && npm publish", "postinstall": "npm run generate-types" }, "husky": { "hooks": { "pre-commit": "yarn prettier", "pre-push": "yarn lint && yarn prettier-check" } }, "dependencies": { "keccak": "^3.0.1", "keccak256": "^1.0.3", "phantomjs-prebuilt": "^2.1.16", "yarn": "^1.22.10" } }