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"] }