diff --git a/.npmignore b/.npmignore index 123ae94..59a480e 100644 --- a/.npmignore +++ b/.npmignore @@ -25,3 +25,5 @@ build/Release # Dependency directory # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git node_modules + +test \ No newline at end of file diff --git a/package.json b/package.json index 7607b59..cedddc2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "ipld", "version": "0.5.0", "description": "JavaScript implementation of the IPLD (InterpPlanetary Linked Data)", - "main": "src/index.js", + "main": "lib/index.js", + "jsnext:main": "src/index.js", "scripts": { "test": "dignified-test", "test:browser": "dignified-test browser",