SmartPool / contracts

MIT License
32 stars 13 forks source link

Use npm for test dependancies. #9

Closed jcvernaleo closed 6 years ago

jcvernaleo commented 6 years ago

Add package.json with all test dependancies.

Update instructions for runnings tests.

Add .gitignore to ignore node_modules and emacs ~ files.

jcvernaleo commented 6 years ago

Since I was doing npm stuff already I added one more commit to use a non-standard port so I don't have to stop geth to run the tests.

jcvernaleo commented 6 years ago

All of the tests pass now so this one should be good to go.

yaronvel commented 6 years ago

npm package for installation and testing.

jcvernaleo commented 6 years ago

That is very odd about sudo. I'm also running on Ubuntu and it installs as a normal user just fine (install everything to contracts/node_modules). Do you have something in your .npmrc or something similar to make it install globally maybe?