Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
upgrade the package
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmars committed Aug 24, 2021
1 parent 1900a29 commit 6d2dbda
Show file tree
Hide file tree
Showing 3 changed files with 921 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "excel-to-json-template",
"version": "0.4.3",
"version": "0.5.0",
"description": "Translate excel to json with template.",
"main": "index.js",
"scripts": {
Expand All @@ -12,12 +12,12 @@
"author": "Sean Mars",
"license": "MIT",
"dependencies": {
"cli-color": "^1.1.0",
"commander": "^2.9.0",
"jsonfile": "^2.3.1",
"lodash": "^4.13.1",
"underscore": "^1.8.3",
"xlsx": "^0.8.0"
"cli-color": "^2.0.0",
"commander": "^8.1.0",
"jsonfile": "^6.1.0",
"lodash": "^4.17.21",
"underscore": "^1.13.1",
"xlsx": "^0.17.1"
},
"keywords": [],
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ describe('#loadTemplate', function () {
should(jsonObj.array[3][1]).be.eql('name');

should(jsonObj.price).be.eql('value');

done();
});

done();
});
});

Expand Down Expand Up @@ -179,10 +179,10 @@ describe('#parse()', function () {
should(data.datas[i].array[3][0]).be.eql(data.datas[i].attributes.value);
should(data.datas[i].array[3][1]).be.eql(data.datas[i].attributes.name);
}

done();
}
});

done();
});
});

Expand Down
Loading

0 comments on commit 6d2dbda

Please sign in to comment.