From 95324e041d1fc505dd6baef732b14b1565e86d68 Mon Sep 17 00:00:00 2001 From: Rickard Natt och Dag Date: Tue, 12 Sep 2023 10:11:09 +0200 Subject: [PATCH] fix: only include built files in npm publish --- .npmignore | 10 ---------- package.json | 3 +++ 2 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index c2417bcd..00000000 --- a/.npmignore +++ /dev/null @@ -1,10 +0,0 @@ -compiled -coverage -lib -tsconfig.json -tslint.json - -.babelrc -.codeclimate.yml -.eslintrc -.travis.yml diff --git a/package.json b/package.json index f03dd01f..433abeb2 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,9 @@ "publishConfig": { "access": "public" }, + "files": [ + "dist" + ], "scripts": { "start": "tsc -w", "lint": "eslint 'lib/**/*.{ts,tsx}'",