From 6ff40cbe60d73a9e112c470960f56306987239fc Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 27 May 2023 11:22:40 +0700 Subject: [PATCH] Updated package --- .npmignore | 5 +++++ package.json | 1 + tsconfig.json | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..b49449f --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +node_modules/ +tests/ +src/ +jest.config.js +tsconfig.json \ No newline at end of file diff --git a/package.json b/package.json index 899671c..9c359a2 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "A simple way to collect logs and send to the server via simple SDK.", "main": "dist/index.js", + "private": false, "dist": { "type": "module", "main": "dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index 62ad4fe..0ce5363 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "outDir": "dist", "rootDir": "src", "strict": true, - "types": ["jest"] + "types": ["jest"], + "declaration": true, }, "include": ["src/**/*.ts"] }