forked from 0x3bfc/keeper-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 4.11 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 4.11 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
{
"name": "@oceanprotocol/keeper-contracts",
"version": "0.7.0",
"description": "Integration of TCRs, CPM and Ocean Tokens in Solidity",
"bugs": {
"url": "https://github.com/oceanprotocol/keeper-contracts/issues"
},
"homepage": "https://github.com/oceanprotocol/keeper-contracts#readme",
"main": "truffle.js",
"scripts": {
"compile": "truffle compile",
"deploy": "npx truffle exec ./scripts/deployContracts.js deploy",
"deploy:spree": "export NETWORK=spree&&npm run deploy -- --network spree",
"deploy:nile": "export NETWORK=nile&&npm run deploy -- --network nile",
"deploy:kovan": "export NETWORK=kovan&&npm run deploy -- --network kovan",
"deploy:rinkeby": "export NETWORK=rinkeby&&npm run deploy -- --network rinkeby",
"deploy:mainnet": "export NETWORK=mainnet&&npm run deploy -- --network mainnet",
"upgrade": "npx truffle exec ./scripts/deployContracts.js upgrade",
"upgrade:spree": "export NETWORK=spree&&npm run upgrade -- --network spree",
"upgrade:nile": "export NETWORK=nile&&npm run upgrade -- --network nile",
"upgrade:kovan": "export NETWORK=kovan&&npm run upgrade -- --network kovan",
"upgrade:rinkeby": "export NETWORK=rinkeby&&npm run upgrade -- --network rinkeby",
"upgrade:mainnet": "export NETWORK=mainnet&&npm run upgrade -- --network mainnet",
"test": "npm run test:ensurewallet&& truffle test",
"test:ensurewallet": "if [ -z ${NETWORK} ]; then export NETWORK='development'; fi && if [ ! -f ./wallets.json ]; then truffle exec ./scripts/setupWalletWrapper.js --network $NETWORK; fi",
"test:unit": "truffle test $(find ./test/unit/ -name '*.js')",
"test:integration": "truffle test $(find ./test/int/ -name '*.js')",
"test:fast": "truffle test $(find ./test/unit/ -name '*.js') $(find ./test/int/ -name '*.js')",
"test:upgrade": "npm run clean && npm run compile && truffle test $(find ./test/upgrade/ -name '*.js')",
"test:cover": "export NETWORK='coverage' && solidity-coverage",
"test:echidna": "./test/verification/echidna/echidna.sh",
"report-coverage": "cat ./coverage/lcov.info | codacy-coverage --token b95545c0da4b45848cc5eef363c2711e --prefix ./",
"release": "./bumpversion.sh patch",
"clean": "rm -rf ./build/ ./artifacts/*.development.json ./coverage/ ./coverageEnv/ ./coverage.json ./zos.* ./.zos.session ./wallets.json",
"lint": "npm run lint:eslint && npm run lint:ethlint",
"lint:eslint": "eslint --ignore-pattern '/coverage/' .",
"lint:ethlint": "solium -d ./contracts/",
"lint:ethlint:watch": "npm run lint:solium -- --watch",
"lint:fix": "npm run lint:eslint -- --fix && npm run lint:ethlint -- --fix",
"security:mythril": "truffle compile && myth -x --truffle --max-depth 12 --outform markdown 2>&1 | tee mythrilReport.md",
"security:securify": "docker run -v $(pwd):/project chainsecurity/securify -t 2>&1 | tee securifyReport.txt",
"security:surya": "surya graph contracts/**/*.sol | dot -Tpng > KeeperContracts.png",
"security:slither": "slither . 2>&1 | tee slitherReport.txt"
},
"directories": {
"doc": "doc",
"test": "test"
},
"files": [
"artifacts/**/*",
"doc/**/*",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/oceanprotocol/keeper-contracts.git"
},
"author": "Ocean Protocol",
"license": "Apache-2.0",
"devDependencies": {
"@oceanprotocol/multisigwallet": "git+https://github.com/oceanprotocol/MultiSigWallet.git#v2.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"dot": "^1.1.2",
"eslint": "^5.14.1",
"eslint-config-oceanprotocol": "^1.3.0",
"eth-gas-reporter": "^0.1.12",
"ethereumjs-abi": "^0.6.5",
"ethlint": "^1.2.3",
"glob": "^7.1.3",
"openzeppelin-eth": "^2.1.3",
"should": "^13.2.3",
"solidity-coverage": "^0.5.11",
"solium": "^1.2.3",
"solium-plugin-security": "^0.1.1",
"truffle": "^5.0.4",
"truffle-contract": "^4.0.5",
"truffle-hdwallet-provider": "^1.0.4",
"web3": "1.0.0-beta.37",
"web3-provider-engine": "^14.1.0",
"websocket": "^1.0.28",
"zos": "~2.1.0",
"zos-lib": "~2.1.0"
}
}