From eb84ea0422824b2539fc0c4a1bf3d40eb9899fb8 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Wed, 30 May 2018 05:40:49 -0400 Subject: [PATCH] Replace .npmignore with package.json "files" option. (#5245) This effectively removes the following from the NPM packages: * bower_components * dist * CONTRIBUTING.md * gen-tsd.json * gulpfile.js * wct.conf.json Fixes #5244 --- .npmignore | 4 ---- package.json | 9 ++++++++- 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 2f38c9a619..0000000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -test/ -util/ -img/ -\..* diff --git a/package.json b/package.json index 8c52e47cc8..96cebb1a13 100644 --- a/package.json +++ b/package.json @@ -64,5 +64,12 @@ }, "dependencies": { "@webcomponents/shadycss": "^1.2.0" - } + }, + "files": [ + "externs", + "lib", + "index.html", + "polymer-*.js", + "manifest.json" + ] }