UNPKG

synthetix_kds

Version:

The smart contracts which make up the Synthetix system. (synthetix.io)

148 lines (147 loc) 5.2 kB
{ "name": "synthetix_kds", "version": "2.37.0", "license": "MIT", "author": "Synthetix", "description": "The smart contracts which make up the Synthetix system. (synthetix.io)", "scripts": { "clean-install": "rm -rf build && rm ./package-lock.json && rm -rf node_modules/* && npm install", "compile:legacy": "buidler compile --config legacy/buidler.legacy.js", "compile": "npm run compile:legacy && buidler compile", "coverage": "NODE_OPTIONS=\"--max-old-space-size=4096\" buidler coverage --network coverage", "generate-asts": "buidler compile", "format": "prettier --write \"contracts/**/*.sol\" \"**/*.js\" \"**/*.md\" \"**/*.yml\"", "lint": "solhint \"contracts/*.sol\" && solhint \"contracts/test-helpers/*.sol\" && solhint --config contracts/interfaces/.solhint.json \"contracts/interfaces/*.sol\" && eslint \"**/*.js\"", "lint:fix": "eslint --fix \"**/*.js\"", "build:ci": "node .circleci/pack.js", "slither": "pip3 install --user slither-analyzer && slither .", "pack": "webpack --mode production", "prepublishOnly": "npm run generate-asts && npm run pack", "fork": "node publish fork --reset --network mainnet", "test": "buidler test", "test:gas": "buidler test --gas --optimizer || cat test-gas-used.log", "test:legacy": "npm run compile:legacy && buidler test:legacy", "test:ovm": "buidler test --ovm --optimizer", "test:prod": "buidler test:prod --network localhost --optimizer", "test:prod:ovm": "concurrently --kill-others --success first \"wait-port 8545 && wait-port 9545 && mocha test/optimism --timeout 900000\"", "test:prod:gas": "buidler test:prod --gas --network localhost --optimizer --gas-output-file test-gas-used-prod.log", "test:deployments": "mocha test/deployments -- --timeout 15000", "test:etherscan": "node test/etherscan", "test:publish": "concurrently --kill-others --success first \"npx buidler node > /dev/null\" \"wait-port 8545 && mocha test/publish --timeout 120000\"" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged && ./hooks/lint" } }, "repository": { "type": "git", "url": "git+https://github.com/Synthetixio/synthetix.git" }, "keywords": [ "Synthetix", "SNX", "sUSD", "Solidity", "Ethereum", "DeFi" ], "engines": { "node": ">=8.10.0" }, "files": [ "index.js", "bin.js", "build/ast", "contracts/**/*.sol", "publish/*.json", "publish/deployed/kovan/*", "publish/deployed/kovan-ovm/*", "publish/deployed/rinkeby/*", "publish/deployed/ropsten/*", "publish/deployed/mainnet/*", "publish/deployed/mainnet-ovm/*", "publish/deployed/goerli/*", "publish/deployed/goerli-ovm/*" ], "bin": { "snx": "bin.js" }, "main": "index.js", "browser": "browser.js", "bugs": { "url": "https://github.com/Synthetixio/synthetix/issues" }, "homepage": "https://synthetix.io", "directories": { "example": "examples", "test": "test" }, "devDependencies": { "@codechecks/client": "0.1.10", "@eth-optimism/ovm-toolchain": "0.0.1-alpha.12", "@eth-optimism/smock": "0.1.0", "@eth-optimism/solc": "0.5.16-alpha.7", "@nomiclabs/buidler": "1.4.8", "@nomiclabs/buidler-truffle5": "1.3.5-rc.0", "@nomiclabs/buidler-web3": "1.3.4", "@pinata/sdk": "1.1.11", "@uniswap/token-lists": "^1.0.0-beta.11", "ajv": "^6.12.4", "axios": "0.21.1", "bn.js": "4.11.8", "buidler-ast-doc": "0.0.14-rc", "buidler-gas-reporter": "^0.1.4", "chai": "4.2.0", "chalk": "^2.4.2", "concurrently": "5.2.0", "dotenv": "^6.2.0", "eslint": "7.6.0", "eslint-config-prettier": "^3.6.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-havven": "^1.0.0", "eslint-plugin-import": "2.22.0", "eslint-plugin-no-only-tests": "^2.4.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "ethers": "5.0.19", "execa": "^4.1.0", "fs-extra": "9.0.1", "ganache-core": "2.13.1", "husky": "^4.3.0", "lodash.clonedeep": "^4.5.0", "lodash.uniq": "^4.5.0", "mocha": "8.1.3", "mustache": "^4.0.1", "prettier": "^1.14.2", "prettier-plugin-solidity": "1.0.0-alpha.51", "pretty-quick": "3.1.0", "rlp": "^2.2.6", "semver": "7.3.2", "solc": "0.5.16", "solhint": "^2.3.0", "solidifier": "github:synthetixio/solidifier#2.2.0", "solidity-coverage": "^0.7.11", "table": "^5.0.2", "wait-port": "^0.2.2", "web3": "1.3.0", "webpack": "4.44.0", "webpack-cli": "3.3.12", "yaml-validator": "^3.0.0" }, "dependencies": { "@chainlink/contracts-0.0.10": "npm:@chainlink/contracts@0.0.10", "@eth-optimism/contracts": "0.0.2-alpha.7", "@eth-optimism/watcher": "0.0.1-alpha.8", "abi-decoder": "2.3.0", "commander": "^5.1.0", "openzeppelin-solidity": "^2.3.0", "openzeppelin-solidity-2.3.0": "npm:openzeppelin-solidity@^2.3.0", "pretty-error": "^2.1.1", "process": "^0.11.10", "solidity-parser-antlr": "^0.4.11", "web3-utils": "^1.2.2" } }