From 9d84dfdd0ecfe43ba25d23cc01f1775beb6c1795 Mon Sep 17 00:00:00 2001 From: "Michael \"Z\" Goddard" <mzgoddard@gmail.com> Date: Thu, 17 May 2018 14:26:13 -0400 Subject: [PATCH] Publish specific files and folders to NPM Users of `scratch-render` do not need the `playground` directory installed as a npm package. If they need those directories they can clone scratch-render and do a local build. This saves downloading 3.5MB (`playground`) when `npm install`ing `scratch-render`. --- .npmignore | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.npmignore b/.npmignore index e69de29b..676de7cc 100644 --- a/.npmignore +++ b/.npmignore @@ -0,0 +1,16 @@ +# Development files +.eslintrc.js +/.editorconfig +/.eslintignore +/.gitattributes +/.github +/.jsdoc.json +/.travis.yml +/test +/webpack.config.js + +# Build created files +/playground + +# Exclude already built packages from testing with npm pack +/scratch-render-*.{tar,tgz}