-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
44 lines (44 loc) · 1.63 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
{
"name": "@cherryswap/smart-contracts",
"version": "1.0.0",
"private": true,
"dependencies": {
"@openzeppelin/cli": "^2.6.0",
"@openzeppelin/contracts-ethereum-package": "^2.5.0",
"@openzeppelin/upgrades": "^2.6.0",
"truffle": "^5.0.37",
"truffle-security": "^1.7.1"
},
"devDependencies": {
"@openzeppelin/test-helpers": "^0.5.4",
"bignumber.js": "^9.0.0",
"bn-chai": "^1.0.1",
"bn.js": "^5.1.1",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^3.0.0",
"decimal.js": "^10.2.0",
"solhint": "^2.3.0",
"solhint-plugin-prettier": "0.0.3",
"solidity-coverage": "0.7.5",
"solidoc": "^1.0.5",
"truffle-assertions": "^0.9.2"
},
"scripts": {
"ganache": "ganache-cli --port 8545",
"script-ganache": "../shared/ganache-cli.sh",
"stop-ganache": "sudo kill `sudo lsof -t -i:8545`",
"add-contract": "openzeppelin add",
"link-dependencies": "openzeppelin link @openzeppelin/contracts-ethereum-package@^2.4.0",
"push-project": "openzeppelin push",
"compile": "openzeppelin compile",
"lint:solhint": "solhint -f table contracts/**/*.sol",
"lint:prettier": "prettier --write contracts/**/*.sol",
"test": "yarn run compile && openzeppelin link @openzeppelin/contracts-ethereum-package@^2.4.0 --timeout 1000 && openzeppelin push --network development && truffle test",
"coverage": "truffle run coverage",
"deploy": "truffle deploy",
"migrate:development": "truffle migrate --network development",
"migrate:rinkeby": "truffle migrate --network rinkeby",
"migrate:mainnet": "truffle migrate --network mainnet",
"docgen": "solidoc"
}
}