From 1e08f049b5e54eb76068f266bac039b50d03130a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCbleitner?= Date: Wed, 18 Sep 2019 05:52:23 +0200 Subject: [PATCH] how to publish --- .gitignore | 3 ++- .npmignore | 4 ++++ package.json | 5 ++++- tsconfig.json | 1 - 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .npmignore diff --git a/.gitignore b/.gitignore index 9b26ed0..eb81abb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -lib \ No newline at end of file +*/**/*.js +*/**/*.d.ts \ No newline at end of file diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..7ac9ab0 --- /dev/null +++ b/.npmignore @@ -0,0 +1,4 @@ +src +test +node_modules +tsconfig.json \ No newline at end of file diff --git a/package.json b/package.json index 8d25962..fd36cb0 100644 --- a/package.json +++ b/package.json @@ -24,5 +24,8 @@ "bsock": "^0.1.9", "uuid": "^3.3.3" }, - "files": [] + "files": [ + "./lib/Backend.js", + "./lib/Frontend.js" + ] } diff --git a/tsconfig.json b/tsconfig.json index abe5456..91c2f63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,6 @@ "target": "ESnext", "module": "commonjs", "declaration": true, - "outDir": "./js", "strict": true, "experimentalDecorators": true },