use embark as project dependency

This commit is contained in:
Ricardo Guilherme Schmidt 2019-04-04 00:18:57 -03:00
parent e41b81cf93
commit 5af5d523b5
No known key found for this signature in database
GPG Key ID: BFB3F5C8ED618A94
2 changed files with 16 additions and 9 deletions

View File

@ -53,14 +53,11 @@ Gas intense operations are done in tabulation, using signatures and merkle proof
The tabulation extends the finalization block at every tabulation.
## Running
Requires Embark 4. Recommended: https://github.com/creationix/nvm
Requires `geth` command available in $PATH for npm start
```
nvm install v10.15
nvm use v10.15
npm install -g embark
git clone https://github.com/status-im/topic-democracy.git
cd topic-democracy
npm install
embark test
embark run
npm test
npm start
```

View File

@ -3,7 +3,13 @@
"version": "0.0.1",
"description": "Liquid democracy for permissionless governance through trust networks of delegates.",
"scripts": {
"test": "embark test"
"start": "npx embark run",
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"qa": "npm-run-all test package",
"reset": "npx embark-reset && npx rimraf embark-*.tgz package",
"test": "npx embark test"
},
"repository": {
"type": "git",
@ -16,10 +22,14 @@
},
"homepage": "https://github.com/status-im/topic-democracy#readme",
"devDependencies": {
"embark": "^4.0.0",
"embark-reset": "^4.0.0",
"embarkjs-connector-web3": "^4.0.0",
"ethereumjs-util": "^6.1.0",
"npm-run-all": "4.1.5",
"react": "16.7.0",
"react-bootstrap": "0.32.4",
"react-dom": "16.7.0"
"react-dom": "16.7.0",
"rimraf": "2.6.3",
"ethereumjs-util": "^6.1.0"
}
}