From f65301ce4daf7ad416ec92dd62a3dc484805bec0 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Tue, 30 Mar 2021 18:37:03 +0700 Subject: [PATCH] Fixed cli and package for unknow cli --- README.md | 2 +- bin/cli.js | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index df4d810..c49c542 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# excel2json +# excel2json-xlsx [![Node.js Package](https://github.com/CUBETIQ/excel2json/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/CUBETIQ/excel2json/actions/workflows/npm-publish.yml) [![Docker CI](https://github.com/CUBETIQ/excel2json/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/CUBETIQ/excel2json/actions/workflows/docker-publish.yml) ![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/cubetiq/excel2json) diff --git a/bin/cli.js b/bin/cli.js index 76c86dc..dc27ff3 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -1,7 +1,7 @@ #!/usr/bin/env node const yargs = require("yargs"); -const excel2json = require("./../excel2json"); +const excel2json = require("./../index"); const options = yargs .usage("Usage: -i -o -m ") diff --git a/package.json b/package.json index 9a0af10..f6533b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "excel2json-xlsx", - "version": "1.0.5", + "version": "1.0.6", "keywords": [ "excel", "json", @@ -11,7 +11,7 @@ "publishConfig": { "access": "public" }, - "bin": "bin/cli.js", + "bin": "./bin/cli.js", "description": "Excel to JSON, able to export JSON from Excel (xlsx)", "repository": { "url": "https://github.com/CUBETIQ/excel2json.git"