diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..3eb626b --- /dev/null +++ b/.npmignore @@ -0,0 +1,8 @@ +.git/ +node_modules/ +test/ +.gitignore +.editorconfig +.travis.yml +src +tsconfig.json \ No newline at end of file diff --git a/package.json b/package.json index c5e41bf..637afd4 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "bugs": { "url": "https://github.com/numsu/nanocurrency-web-js/issues" }, - "main": "index.js", + "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "mocha --reporter spec"