Skip to content

Commit

Permalink
Cleaned up package.json in preparation for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
asselstine committed Apr 11, 2018
1 parent 3594856 commit 3344d48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If you have existing migrations then this command will behave like `migrate --re

The command currently supports all Truffle options, including `--dry-run` and `--network` selection.

# Migrating from `truffle migrate`
# Migrating Existing Projects

If you're migrating from `truffle migrate` then you can preserve your deployed contracts by manually creating a network config.

Expand Down Expand Up @@ -81,6 +81,8 @@ The key here is that the Truffle build artifact network addresses are derived fr

- Deploying a contract to the same network twice is not currently supported. Networks are distinguished by their network_id rather than an alias, so you have to scope the 'latest' set of contracts by network.

- It's currently built against Truffle 4.1.5, but it's likely that it will work with older versions of Truffle as well. If you want to test it and submit a PR that would be fantastic!

# License

Note that this project borrows code heavily from `truffle-migrate` and `truffle-core`. This code is similarly licensed under the MIT license.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "truffle-migrate-off-chain",
"version": "1.0.0",
"description": "Off-chain Solidity migrations and contract tracking for Truffle",
"version": "0.1",
"description": "Off-chain migrations for Truffle",
"main": "index.js",
"scripts": {
"main": "node index.js"
Expand Down

0 comments on commit 3344d48

Please sign in to comment.