From 1c7eeb8e9023c0dbda80836be4bf32a3cb73eaeb Mon Sep 17 00:00:00 2001 From: Harry Sarson Date: Wed, 6 Jun 2018 11:48:34 +0100 Subject: [PATCH] explicity list files to be included in npm package Rather than add everything to the npm package it is better to only add the nessary files. This commit lists the files to include based on https://docs.npmjs.com/files/package.json#files --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 1c66f100d..6669c1221 100644 --- a/package.json +++ b/package.json @@ -137,6 +137,11 @@ "zeros": "1.0.0" }, "main": "./index", + "files": [ + "dist", + "lib", + "src", + ], "scripts": { "build": "gulp", "watch": "gulp watch",