Fixed cli and package for unknow cli
This commit is contained in:
parent
2b170c9bc0
commit
f65301ce4d
@ -1,4 +1,4 @@
|
||||
# excel2json
|
||||
# excel2json-xlsx
|
||||
[](https://github.com/CUBETIQ/excel2json/actions/workflows/npm-publish.yml)
|
||||
[](https://github.com/CUBETIQ/excel2json/actions/workflows/docker-publish.yml)
|
||||

|
||||
|
@ -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>")
|
||||
|
@ -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…
Reference in New Issue
Block a user