From 52d478054155385b99eaf5921f522d7d52ba9c38 Mon Sep 17 00:00:00 2001 From: Nur Rony Date: Mon, 31 Dec 2018 20:15:22 +0600 Subject: [PATCH] fix(cli-help): fix help command issue --- .npmignore | 4 +++- package.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index e5e1720..8e29841 100644 --- a/.npmignore +++ b/.npmignore @@ -3,7 +3,8 @@ #tests test coverage -.nyc-output +.nyc_output +.nyc-output/** #build tools .travis.yml @@ -26,3 +27,4 @@ coverage # non-dist-files src test +./help.txt \ No newline at end of file diff --git a/package.json b/package.json index 4081f12..d69ad49 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,9 @@ "hlsdl": "bin/hlsdl.js" }, "scripts": { - "build": "npm run clean && npm run compile", + "build": "npm run clean && npm run compile && npm run copy", "clean": "rm -fr bin", + "copy": "cp -f ./help.txt bin/", "code:quality": "npm run lint && npm run lint:fix && npm run build && npm run test", "commit": "git-cz", "compile": "babel src -d ./bin --no-comments --minified",