Skip to content

Commit

Permalink
fix accounts, windows support, ganache version, broken npm scripts
Browse files Browse the repository at this point in the history
merge fixes, lint

revert to deterministic

lint
  • Loading branch information
dkent600 committed Dec 27, 2018
1 parent 5ef08f7 commit a9745ef
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.env
db
db
.vscode
2 changes: 1 addition & 1 deletion migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const defaults = {
*/
const wrapCommand = fn => async options => {
let { quiet, force, provider, gasPrice, privateKey, mnemonic, output, params } = { ...defaults, ...options }
const emptySpinner = new Proxy({}, { get: () => () => {} }) // spinner that does nothing
const emptySpinner = new Proxy({}, { get: () => () => { } }) // spinner that does nothing
const spinner = quiet ? emptySpinner : ora()

process.on('unhandledRejection', (reason, promise) => {
Expand Down
2 changes: 1 addition & 1 deletion migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@
"NativeReputation": "0xBbF1eE256BC68b76f37E019AE5A7fC9E04Bde997"
}
}
}
}
13 changes: 9 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"node": ">=10.14.2"
},
"scripts": {
"cleandb": "rm -rf db",
"ganache": "mkdir -p db && ganache-cli --db=./db --deterministic --hostname=0.0.0.0",
"lint": "eslint .",
"migrate": "./migrate.js",
"cleandb": "rimraf db",
"ganache": "mkdirp db && ganache-cli --db=./db --networkId 1512051714758 --deterministic --hostname=0.0.0.0",
"migrate": "node ./migrate.js",
"docker:build": "docker build . -t daostack/migration:$(cat package.json | jq -r '.version')",
"docker:push": "docker push daostack/migration:$(cat package.json | jq -r '.version')",
"release": "./release.sh",
Expand All @@ -33,13 +33,15 @@
"dependencies": {
"@daostack/arc": "0.0.0-alpha.58",
"ethereumjs-wallet": "^0.6.2",
"ganache-cli": "^6.2.4",
"ganache-cli": "^6.2.5",
"hdwallet-accounts": "0.0.1",
"inquirer": "^6.2.0",
"mkdirp": "^0.5.1",
"moment": "^2.22.2",
"ora": "^3.0.0",
"prompt-confirm": "^2.0.4",
"web3": "^1.0.0-beta.37",
"rimraf": "^2.6.2",
"yargs": "^12.0.2"
},
"devDependencies": {
Expand Down

0 comments on commit a9745ef

Please sign in to comment.