forked from Synthetixio/synthetix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.91 KB
/
package.json
File metadata and controls
138 lines (138 loc) · 4.91 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "synthetix",
"version": "2.30.2-ovm",
"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\" \"**/*.json\"",
"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\"",
"ci:build": "circleci config pack .circleci/src > .circleci/config.yml && circleci config validate",
"slither": "pip3 install --user slither-analyzer && slither .",
"pack": "webpack --mode production",
"prepublishOnly": "npm run generate-asts && npm run pack",
"postpublish": "node publish persist-tokens --yes",
"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",
"test:prod:gas": "buidler test:prod --gas --network localhost --gas-output-file test-gas-used-prod.log || cat test-gas-used-prod.log",
"test:deployments": "mocha test/deployments -- --timeout 15000",
"test:etherscan": "node test/etherscan",
"test:local": "concurrently --kill-others --success first \"npx buidler node > /dev/null\" \"wait-port 8545 && node test/testnet --network local --yes\"",
"test:publish": "concurrently --kill-others --success first \"npx buidler node > /dev/null\" \"wait-port 8545 && mocha test/publish --timeout 90000\"",
"test:multi": "mocha test/multi --timeout 9000000",
"test:multi-same-chain": "concurrently --kill-others --success first \"npx buidler node > /dev/null\" \"wait-port 8545 && mocha test/multi-same-chain --timeout 90000\"",
"deploy:messengers": "node test/multi-helper/deployMessengers.js",
"test:testnet": "node test/testnet"
},
"husky": {
"hooks": {
"pre-commit": "./hooks/circleci"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Synthetixio/synthetix.git"
},
"keywords": [
"Synthetix",
"Solidity",
"DeFi"
],
"engines": {
"node": ">=8.10.0"
},
"files": [
"index.js",
"bin.js",
"build/ast",
"contracts/**/*.sol",
"publish/assets.json",
"publish/deployed/kovan/*",
"publish/deployed/rinkeby/*",
"publish/deployed/ropsten/*",
"publish/deployed/mainnet/*",
"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": {
"test": "test"
},
"devDependencies": {
"@codechecks/client": "0.1.10",
"@eth-optimism/ovm-toolchain": "0.0.1-alpha.11",
"@eth-optimism/solc": "0.5.16-alpha.2",
"@nomiclabs/buidler": "1.3.7",
"@nomiclabs/buidler-truffle5": "1.3.4",
"@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.19.2",
"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.1.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-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.14",
"fs-extra": "9.0.1",
"ganache-core": "2.11.3",
"husky": "^4.3.0",
"inquirer": "^7.3.3",
"inquirer-list-search-prompt": "^1.0.2",
"lodash.clonedeep": "^4.5.0",
"mocha": "8.1.3",
"prettier": "^1.14.2",
"prettier-plugin-solidity": "1.0.0-alpha.51",
"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.2.11",
"web3-eth-ens": "^1.2.11",
"webpack": "4.44.0",
"webpack-cli": "3.3.12"
},
"dependencies": {
"@chainlink/contracts-0.0.10": "npm:@chainlink/contracts@0.0.10",
"@eth-optimism/rollup-contracts": "0.0.1-alpha.37",
"abi-decoder": "2.3.0",
"commander": "5.1.0",
"openzeppelin-solidity-2.3.0": "npm:openzeppelin-solidity@2.3.0",
"pretty-error": "^2.1.1",
"solidity-parser-antlr": "^0.4.11",
"web3-utils": "1.2.2"
}
}