From 5e0a301103f3c47456d268c44ab7b0af27a9ba3f Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Mon, 17 Dec 2018 12:35:51 -0500 Subject: [PATCH 1/2] Ignore test and extraneous files from npm tarball --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index da63b35..13d6d25 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,12 @@ "description": "Because no one should be shell-scripting inside a JSON file.", "main": "lib/scripty.js", "bin": "cli.js", + "files": [ + "cli.js", + "lib", + "scripts", + "scripts-win" + ], "scripts": { "test:unit": "teenytest \"lib/**/*.test.js\" --helper test/unit-helper.js", "test:safe": "teenytest \"test/safe/**/*.js\" --helper test/safe-helper.js", From b0cda019165625af888da44afd85a3f58598026e Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Mon, 17 Dec 2018 12:36:37 -0500 Subject: [PATCH 2/2] Gitignore any local npm-packed tarballs --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index cb5ce83..424679d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ npm-debug.log .node-version /coverage +/scripty-*.tgz