diff --git a/.npmignore b/.npmignore index c3c3bbe..9e7af1f 100644 --- a/.npmignore +++ b/.npmignore @@ -24,3 +24,5 @@ build/Release # Optional REPL history .node_repl_history + +test diff --git a/package.json b/package.json index 509aa95..a23927f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "peer-id", "version": "0.6.4", "description": "IPFS Peer Id implementation in Node.js", - "main": "src/index.js", + "main": "lib/index.js", + "jsnext": "src/index.js", "scripts": { "lint": "dignified-lint", "build": "dignified-build",