From 6f42febb87b6eca615c1d3e75be2bdfa1be932ce Mon Sep 17 00:00:00 2001 From: Sven Tschui Date: Fri, 28 Aug 2020 17:15:45 +0200 Subject: [PATCH] Add README.md to npm package --- .gitignore | 3 +++ packages/next-plugin-preact/package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e3490f2..74a51ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ node_modules/ .next/ dist/ +packages/next-plugin-preact/README.md +packages/next-plugin-preact/next-plugin-preact*.tgz +packages/next-plugin-preact/package diff --git a/packages/next-plugin-preact/package.json b/packages/next-plugin-preact/package.json index f17a737..3bc4419 100644 --- a/packages/next-plugin-preact/package.json +++ b/packages/next-plugin-preact/package.json @@ -11,7 +11,8 @@ "required-env": [] }, "scripts": { - "postinstall": "node ./postinstall.js" + "postinstall": "node ./postinstall.js", + "prepare": "cp ../../README.md ." }, "files": [ "esc.js",