From 930d7f540152b26b825feeba198e68b3013bc257 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 27 Jan 2021 16:40:47 +0000 Subject: [PATCH] replace npmignore with package JSON files field --- packages/standard-components/.npmignore | 3 --- packages/standard-components/package.json | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 packages/standard-components/.npmignore diff --git a/packages/standard-components/.npmignore b/packages/standard-components/.npmignore deleted file mode 100644 index 81c5644598..0000000000 --- a/packages/standard-components/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -* -!dist/* -!components.json \ No newline at end of file diff --git a/packages/standard-components/package.json b/packages/standard-components/package.json index d2a60c4912..202dd9452e 100644 --- a/packages/standard-components/package.json +++ b/packages/standard-components/package.json @@ -10,6 +10,11 @@ "start:dev": "sirv public --single --dev", "dev:builder": "rollup -cw" }, + "files": [ + "manifest.json", + "package.json", + "dist" + ], "devDependencies": { "@rollup/plugin-alias": "^3.1.1", "@rollup/plugin-commonjs": "^16.0.0",