From 3d257b8d7166d7dd3ddf27a176f53e89eb04e0d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miro=20Mets=C3=A4nheimo?= Date: Sun, 13 Oct 2019 11:43:06 +0300 Subject: [PATCH] prepare for publish --- .npmignore | 8 ++++++++ package.json | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .npmignore 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" -- 2.34.1