From 7522e1e285a6787fe9eb23781c2bccc7fd70e34c Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Mon, 26 Nov 2018 13:42:39 +0100 Subject: [PATCH] Include an oclif manifest in build output --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 52f8c364..c10b21a0 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ .yarn-integrity /.nyc_output /dist +oclif.manifest.json /lib /tmp /yarn.lock diff --git a/package.json b/package.json index 9faefd19..9141d612 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "httptoolkit-server": "./bin/run" }, "files": [ + "oclif.manifest.json", "/bin", "/lib" ], @@ -15,7 +16,7 @@ "start": "./bin/run", "build": "npm run build:src && npm run build:pack", "build:src": "rm -rf lib && tsc -b", - "build:pack": "oclif-dev pack", + "build:pack": "oclif-dev manifest && oclif-dev pack", "prepack": "npm run build:src", "test": "mocha -r ts-node/register 'test/**/*.spec.ts'" },