Skip to content

Commit

Permalink
Add MythX via truffle-security
Browse files Browse the repository at this point in the history
  • Loading branch information
barlock committed Mar 19, 2019
1 parent ced9ae7 commit 3e3a982
Show file tree
Hide file tree
Showing 6 changed files with 2,484 additions and 73 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"test": "yarn lint && yarn test:packages",
"test:packages": "lerna run test --concurrency 1",
"verify": "lerna run verify --concurrency 1",
"lint": "yarn eslint . && yarn solium -d .",
"prettier": "prettier \"**/*.{js,json,css,md}\" --write",
"lerna:version": "lerna version --no-push",
Expand All @@ -13,6 +14,7 @@
"devDependencies": {
"@0x/sol-coverage": "^2.0.3",
"@0x/sol-trace": "^2.0.4",
"@cleanunicorn/mythos": "^0.4.1",
"chokidar-cli": "^1.2.2",
"dotenv": "^6.2.0",
"eslint": "^5.13.0",
Expand All @@ -28,6 +30,7 @@
"solium": "^1.2.2",
"solium-config-web3studio": "^1.2.0",
"truffle": "^5.0.3",
"truffle-security": "^1.3.1",
"web3-provider-engine": "^14.1.0"
},
"workspaces": {
Expand Down
1 change: 1 addition & 0 deletions packages/bootleg-app-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"scripts": {
"test": "bootleg-truffle-test",
"test:watch": ". bootleg-setup-ganache; chokidar --initial \"test/**/*.js\" \"contracts/**/*.sol\" -c \"yarn test\"",
"verify": "truffle run verify",

This comment has been minimized.

Copy link
@rocky

rocky Mar 27, 2019

If you change this to "truffle compile" does "truffle compile" work?

"truffle": "truffle",
"build": "truffle compile"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/bootleg-common/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ module.exports = projectRoot => {
solc: {
version: solcVersion
}
}
},
plugins: ['truffle-security']
};
};
1 change: 1 addition & 0 deletions packages/bootleg-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"scripts": {
"test": "bootleg-truffle-test",
"test:watch": ". bootleg-setup-ganache; chokidar --initial \"test/**/*.js\" \"contracts/**/*.sol\" -c \"yarn test\"",
"verify": "truffle run verify",
"truffle": "truffle",
"build": "truffle compile"
},
Expand Down
1 change: 1 addition & 0 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"url": "git+https://github.com/ConsenSys/web3studio-bootleg.git"
},
"scripts": {
"verify": "truffle run verify",
"truffle": "truffle",
"build": "truffle compile"
},
Expand Down
Loading

0 comments on commit 3e3a982

Please sign in to comment.