Skip to content

Commit

Permalink
Prepare the codebase for EPM publication
Browse files Browse the repository at this point in the history
This commit just tightens some bolts for EPM publication.

* Change the EPM descriptor, since the codebase is hash-keyed, not
  string-keyed.
* Add a Ropsten network config.
* Add a publish command to the package.json
  • Loading branch information
skmgoldin committed Apr 26, 2018
1 parent 57021d4 commit 81ede68
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ethpm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"package_name": "tcr",
"version": "1.0.0",
"description": "A generic, string-keyed TCR",
"description": "A generic, hash-keyed TCR",
"authors": [
"Mike Goldin",
"Isaac Kang",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"install": "truffle install",
"compile": "truffle compile",
"publish": "truffle publish",
"coverage": "solidity-coverage",
"deploy-rinkeby": "truffle migrate --network rinkeby",
"deploy-mainnet": "truffle migrate --network mainnet",
Expand Down
6 changes: 6 additions & 0 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ module.exports = {
gas: 4500000,
gasPrice: 25000000000,
},
ropsten: {
provider: new HDWalletProvider(mnemonic, 'https://ropsten.infura.io'),
network_id: '*',
gas: 4500000,
gasPrice: 25000000000,
},
// config for solidity-coverage
coverage: {
host: 'localhost',
Expand Down

0 comments on commit 81ede68

Please sign in to comment.