Browse Source

Fixed cli and package for unknow cli

main v1.0.6
Sambo Chea 1 month ago
parent
commit
f65301ce4d
  1. 2
      README.md
  2. 2
      bin/cli.js
  3. 4
      package.json

2
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)

2
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 <input> -o <output> -m <mapper>")

4
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"

Loading…
Cancel
Save