From 52de17e08fe3176cfdce68081ff2a097a4ab9826 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Wed, 18 Jan 2023 13:20:56 -0800 Subject: [PATCH] shared: Specify files for NPM package, so lib/ gets included Otherwise `npm publish` and friends leave it out because it's ignored in Git. This also cuts out `tools/` and a few other such files. --- static/shared/package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/shared/package.json b/static/shared/package.json index f9ff0c4f13..1da0df2a50 100644 --- a/static/shared/package.json +++ b/static/shared/package.json @@ -13,5 +13,10 @@ }, "devDependencies": { "typescript": "^4.8.2" - } + }, + "files": [ + "icons", + "js", + "lib" + ] }