-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathpackage.json
108 lines (108 loc) · 4.98 KB
/
package.json
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
{
"name": "argent-contracts",
"version": "1.0.0",
"description": "Argent Contracts",
"directories": {
"test": "test"
},
"scripts": {
"compile:lib_0.5": "npx truffle compile --config truffle-config-lib-0.5.js",
"compile:lib_0.7": "npx truffle compile --config truffle-config-lib-0.7.js",
"compile:lib": "npm run compile:lib_0.5 && npm run compile:lib_0.7",
"compile:infrastructure_0.5": "npx truffle compile --config truffle-config-infrastructure-0.5.js",
"compile:infrastructure_0.8": "npx truffle compile --config truffle-config-infrastructure.js",
"compile:infrastructure": "npm run compile:infrastructure_0.5 && npm run compile:infrastructure_0.8",
"compile:modules": "npx truffle compile --config truffle-config-modules.js",
"compile:wallet": "npx truffle compile --config truffle-config-wallet.js",
"compile:test": "npx truffle compile --config truffle-config-contracts-test.js",
"compile": "npm run compile:infrastructure && npm run compile:modules && npm run compile:wallet",
"cc": "rm -rf build && npm run compile:lib && npm run compile && npm run compile:test && npm run provision:lib:artefacts",
"ganache": "npx ganache-cli --chainId 1895 --networkId 1597649375983 --gasLimit=20700000 --gasPrice 0 -e 10000 --acctKeys=\"./ganache-accounts.json\" --deterministic",
"mainnet-fork": "bash ./scripts/start_mainnet_fork.sh",
"test": "npx truffle test --compile-none",
"ctest": "npm run compile && npm run test",
"test:integration": "npx truffle test --compile-none --network prodFork test-integration/*",
"provision:lib:artefacts": "bash ./scripts/provision_lib_artefacts.sh",
"test:coverage": "COVERAGE=1 node scripts/coverage.js && istanbul check-coverage --branches 85 --lines 93",
"lint:js": "eslint --fix .",
"lint:contracts": "npx solhint contracts/**/*.sol && npx solhint contracts/**/**/*.sol",
"test:deployment": "./scripts/deploy.sh --no-compile development `seq 1 4`",
"validate:erc20": "bash ./scripts/validate_erc20.sh",
"security:slither": "npm run security:slither:infrastructure_0.5 && npm run security:slither:infrastructure && npm run security:slither:modules && npm run security:slither:wallet",
"security:slither:infrastructure_0.5": "rm -rf build && npm run compile:infrastructure_0.5 && slither .",
"security:slither:infrastructure": "rm -rf build && npm run compile:infrastructure_0.8 && slither .",
"security:slither:modules": "rm -rf build && npx truffle compile --config truffle-config-modules.js && slither .",
"security:slither:wallet": "rm -rf build && npm run compile:wallet && slither .",
"security:slither:infrastructure_0.5:triage": "rm -rf build && npm run compile:infrastructure_0.5 && slither . --triage-mode",
"security:slither:infrastructure:triage": "rm -rf build && npm run compile:infrastructure_0.8 && slither . --triage-mode",
"security:slither:modules:triage": "rm -rf build && npx truffle compile --config truffle-config-modules.js && slither . --triage-mode",
"security:slither:wallet:triage": "rm -rf build && npm run compile:wallet && slither . --triage-mode"
},
"lint-staged": {
"*.js": [
"npm run lint:js"
]
},
"husky": {
"hooks": {
"pre-commit": "solhint contracts/**/*.sol && npx solhint contracts/**/**/*.sol && lint-staged"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/argentlabs/argent-contracts.git"
},
"author": "Argent Labs",
"license": "ISC",
"bugs": {
"url": "https://github.com/argentlabs/argent-contracts/issues"
},
"homepage": "https://github.com/argentlabs/argent-contracts#readme",
"dependencies": {
"@openzeppelin/contracts": "^4.4.2",
"@uniswap/lib": "^1.1.2",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"ajv": "^6.10.0",
"argent-trustlists": "git+https://github.com/argentlabs/argent-trustlists",
"aws-sdk": "^2.814.0",
"child_process": "^1.0.2",
"ethereumjs-wallet": "^1.0.1",
"ethers": "^5.0.23",
"fs": "0.0.1-security",
"inquirer": "^7.0.0",
"node-fetch": "^2.6.7",
"openzeppelin-solidity": "3.4.0",
"semver": "^7.1.3",
"util": "^0.12.3"
},
"devDependencies": {
"-": "0.0.1",
"@codechecks/client": "^0.1.10",
"@truffle/abi-utils": "^0.2.3",
"@truffle/config": "^1.2.33",
"@truffle/contract": "^4.3.0",
"@truffle/hdwallet-provider": "^1.2.0",
"bn-chai": "^1.0.1",
"bn.js": "^5.1.3",
"chai": "^4.2.0",
"dotenv": "^8.2.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.20.1",
"eth-gas-reporter": "^0.2.19",
"ganache-cli": "^6.12.1",
"husky": "^4.3.0",
"istanbul": "^0.4.5",
"lint-staged": "^10.5.2",
"mocha-junit-reporter": "^2.0.0",
"solhint": "^3.3.2",
"solidity-coverage": "^0.7.16",
"truffle": "5.1.48",
"truffle-assertions": "^0.9.2",
"truffle-flatten": "^1.0.8",
"truffle-plugin-verify": "^0.5.33",
"web3": "^1.3.0",
"web3-eth-abi": "^1.3.0"
}
}