@microlink/react-json-view 1.31.8 → 1.31.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +2 -0
  2. package/package.json +16 -2
package/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import ReactJsonView from './dist/main.js'
2
+ export default ReactJsonView.default || ReactJsonView
package/package.json CHANGED
@@ -2,9 +2,18 @@
2
2
  "name": "@microlink/react-json-view",
3
3
  "description": "Interactive react component for displaying javascript arrays and JSON objects.",
4
4
  "homepage": "https://github.com/microlinkhq/react-json-view",
5
- "version": "1.31.8",
5
+ "version": "1.31.9",
6
6
  "types": "index.d.ts",
7
7
  "main": "dist/main.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./index.mjs",
11
+ "require": "./dist/main.js",
12
+ "default": "./dist/main.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "module": "index.mjs",
8
17
  "author": {
9
18
  "name": "Mac Gainor"
10
19
  },
@@ -169,6 +178,10 @@
169
178
  "name": "Jason Etcovitch",
170
179
  "email": "jasonetco@gmail.com"
171
180
  },
181
+ {
182
+ "name": "JC Louis",
183
+ "email": "jean-charles.louis@lifen.fr"
184
+ },
172
185
  {
173
186
  "name": "liancong",
174
187
  "email": "liancong@baidu.com"
@@ -324,7 +337,8 @@
324
337
  },
325
338
  "files": [
326
339
  "dist",
327
- "index.d.ts"
340
+ "index.d.ts",
341
+ "index.mjs"
328
342
  ],
329
343
  "scripts": {
330
344
  "build": "NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production webpack --config webpack/webpack.config.js --progress",