UNPKG

4.71 kBJSONView Raw
1{
2 "name": "synthetix",
3 "version": "2.34.1-ovm",
4 "license": "MIT",
5 "author": "Synthetix",
6 "description": "The smart contracts which make up the Synthetix system. (synthetix.io)",
7 "scripts": {
8 "clean-install": "rm -rf build && rm ./package-lock.json && rm -rf node_modules/* && npm install",
9 "compile:legacy": "buidler compile --config legacy/buidler.legacy.js",
10 "compile": "npm run compile:legacy && buidler compile",
11 "coverage": "NODE_OPTIONS=\"--max-old-space-size=4096\" buidler coverage --network coverage",
12 "generate-asts": "buidler compile",
13 "format": "prettier --write \"contracts/**/*.sol\" \"**/*.js\" \"**/*.md\" \"**/*.yml\"",
14 "lint": "solhint \"contracts/*.sol\" && solhint \"contracts/test-helpers/*.sol\" && solhint --config contracts/interfaces/.solhint.json \"contracts/interfaces/*.sol\" && eslint \"**/*.js\"",
15 "lint:fix": "eslint --fix \"**/*.js\"",
16 "build:ci": "node .circleci/pack.js",
17 "slither": "pip3 install --user slither-analyzer && slither .",
18 "pack": "webpack --mode production",
19 "prepublishOnly": "npm run generate-asts && npm run pack",
20 "fork": "node publish fork --reset --network mainnet",
21 "test": "buidler test",
22 "test:gas": "buidler test --gas --optimizer || cat test-gas-used.log",
23 "test:legacy": "npm run compile:legacy && buidler test:legacy",
24 "test:ovm": "buidler test --ovm --optimizer",
25 "test:prod": "buidler test:prod --network localhost --optimizer",
26 "test:prod:gas": "buidler test:prod --gas --network localhost --optimizer --gas-output-file test-gas-used-prod.log",
27 "test:deployments": "mocha test/deployments -- --timeout 15000",
28 "test:etherscan": "node test/etherscan",
29 "test:publish": "concurrently --kill-others --success first \"npx buidler node > /dev/null\" \"wait-port 8545 && mocha test/publish --timeout 90000\"",
30 "test:multi-same-chain": "concurrently --kill-others --success first \"npx buidler node > /dev/null\" \"wait-port 8545 && mocha test/multi-same-chain --timeout 900000\""
31 },
32 "husky": {
33 "hooks": {
34 "pre-commit": "pretty-quick --staged && ./hooks/lint"
35 }
36 },
37 "repository": {
38 "type": "git",
39 "url": "git+https://github.com/Synthetixio/synthetix.git"
40 },
41 "keywords": [
42 "Synthetix",
43 "SNX",
44 "sUSD",
45 "Solidity",
46 "Ethereum",
47 "DeFi"
48 ],
49 "engines": {
50 "node": ">=8.10.0"
51 },
52 "files": [
53 "index.js",
54 "bin.js",
55 "build/ast",
56 "contracts/**/*.sol",
57 "publish/assets.json",
58 "publish/ovm-ignore.json",
59 "publish/deployed/kovan/*",
60 "publish/deployed/rinkeby/*",
61 "publish/deployed/ropsten/*",
62 "publish/deployed/mainnet/*",
63 "publish/deployed/goerli/*",
64 "publish/deployed/goerli-ovm/*"
65 ],
66 "bin": {
67 "snx": "bin.js"
68 },
69 "main": "index.js",
70 "browser": "browser.js",
71 "bugs": {
72 "url": "https://github.com/Synthetixio/synthetix/issues"
73 },
74 "homepage": "https://synthetix.io",
75 "directories": {
76 "test": "test"
77 },
78 "devDependencies": {
79 "@codechecks/client": "0.1.10",
80 "@eth-optimism/ovm-toolchain": "0.0.1-alpha.12",
81 "@eth-optimism/smock": "0.1.0",
82 "@eth-optimism/solc": "0.5.16-alpha.6",
83 "@nomiclabs/buidler": "1.4.8",
84 "@nomiclabs/buidler-truffle5": "1.3.5-rc.0",
85 "@nomiclabs/buidler-web3": "1.3.4",
86 "@pinata/sdk": "1.1.11",
87 "@uniswap/token-lists": "^1.0.0-beta.11",
88 "ajv": "^6.12.4",
89 "axios": "0.19.2",
90 "bn.js": "4.11.8",
91 "buidler-ast-doc": "0.0.14-rc",
92 "buidler-gas-reporter": "^0.1.4",
93 "chai": "4.2.0",
94 "chalk": "^2.4.2",
95 "concurrently": "5.2.0",
96 "dotenv": "^6.1.0",
97 "eslint": "7.6.0",
98 "eslint-config-prettier": "^3.6.0",
99 "eslint-config-standard": "^12.0.0",
100 "eslint-plugin-havven": "^1.0.0",
101 "eslint-plugin-import": "2.22.0",
102 "eslint-plugin-node": "11.1.0",
103 "eslint-plugin-prettier": "^2.6.2",
104 "eslint-plugin-promise": "^4.0.1",
105 "eslint-plugin-standard": "^4.0.0",
106 "ethers": "5.0.19",
107 "execa": "^4.1.0",
108 "fs-extra": "9.0.1",
109 "ganache-core": "2.13.1",
110 "husky": "^4.3.0",
111 "lodash.clonedeep": "^4.5.0",
112 "mocha": "8.1.3",
113 "mustache": "^4.0.1",
114 "prettier": "^1.14.2",
115 "prettier-plugin-solidity": "1.0.0-alpha.51",
116 "pretty-quick": "3.1.0",
117 "semver": "7.3.2",
118 "solc": "0.5.16",
119 "solhint": "^2.3.0",
120 "solidifier": "github:synthetixio/solidifier#2.2.0",
121 "solidity-coverage": "^0.7.11",
122 "table": "^5.0.2",
123 "wait-port": "^0.2.2",
124 "web3": "1.3.0",
125 "webpack": "4.44.0",
126 "webpack-cli": "3.3.12",
127 "yaml-validator": "^3.0.0"
128 },
129 "dependencies": {
130 "@chainlink/contracts-0.0.10": "npm:@chainlink/contracts@0.0.10",
131 "@eth-optimism/contracts": "0.0.2-alpha.7",
132 "abi-decoder": "2.3.0",
133 "commander": "5.1.0",
134 "openzeppelin-solidity-2.3.0": "npm:openzeppelin-solidity@2.3.0",
135 "pretty-error": "^2.1.1",
136 "solidity-parser-antlr": "^0.4.11",
137 "web3-utils": "1.2.2"
138 }
139}