From 3a2362d6e7147464ee0b3ab3a79d0f21e8cdad82 Mon Sep 17 00:00:00 2001 From: microshine Date: Wed, 25 Nov 2020 13:31:37 +0300 Subject: [PATCH] chore: Move npmignore to package.json --- .npmignore | 10 ---------- package.json | 6 ++++++ 2 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index ef75b7b..0000000 --- a/.npmignore +++ /dev/null @@ -1,10 +0,0 @@ -.circleci -.nyc_output -.vscode -coverage -node_modules -src -test -rollup.config.js -tsconfig.json -.eslintrc.json \ No newline at end of file diff --git a/package.json b/package.json index 35970e6..4322e20 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,12 @@ "type": "git", "url": "https://github.com/PeculiarVentures/webcrypto.git" }, + "files": [ + "build/**/*.{ts,js}", + "index.d.ts", + "README.md", + "LICENSE.md" + ], "main": "build/webcrypto.js", "module": "build/webcrypto.es.js", "types": "index.d.ts",