Skip to content

Commit

Permalink
refactor: esm supporting
Browse files Browse the repository at this point in the history
  • Loading branch information
zheeeng committed Jan 20, 2022
1 parent 9b741a6 commit 1fe8367
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "export-from-json",
"version": "1.4.1",
"version": "1.5.0",
"description": "Export to txt, json, csv, xls, xml format file from valid JavaScript JSON object.",
"keywords": [
"json",
Expand Down Expand Up @@ -38,6 +38,14 @@
"dist",
"example"
],
"exports": {
".": {
"require": "./dist/umd/index.js",
"types": "./dist/types/index.d.ts",
"default": "./lib/esm/index.js"

This comment has been minimized.

Copy link
@afc163

This comment has been minimized.

Copy link
@zheeeng

zheeeng Jan 20, 2022

Author Owner

这个文件不存在:https://unpkg.com/browse/export-from-json@1.5.0/

fixed, thx very much

},
"./package.json": "./package.json"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"husky": "^7.0.1",
Expand Down

0 comments on commit 1fe8367

Please sign in to comment.