Skip to content

Commit

Permalink
Merge pull request #102 from sayari-analytics/feature/v062
Browse files Browse the repository at this point in the history
fix exports in package.json
  • Loading branch information
mggower authored Apr 4, 2024
2 parents 7edac29 + a542e17 commit 03770af
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.7.0-rc.15",
"description": "High-performance network visualization library, rendering to WebGL as well as other targets",
"main": "./index.js",
"exports": "./index.js",
"types": "./index.d.ts",
"scripts": {
"clean": "rm -rf dist && rm -rf .parcel-cache",
Expand Down Expand Up @@ -37,6 +36,28 @@
"distDir": "./dist"
}
},
"exports": {
".": {
"default": "./index.js",
"types": "./index.d.ts"
},
"./renderers/*": {
"default": "./renderers/*/index.js",
"types": "./renderers/*/index.d.ts"
},
"./bindings/react/*": {
"default": "./bindings/react/*.js",
"types": "./bindings/react/*.d.ts"
},
"./bindings/native/*": {
"default": "./bindings/native/*.js",
"types": "./bindings/native/*.d.ts"
},
"./layout/*": {
"default": "./layout/*/index.js",
"types": "./layout/*/index.d.ts"
}
},
"author": "James Conkling <[email protected]> jameslaneconkling.github.io",
"license": "ISC",
"dependencies": {
Expand Down Expand Up @@ -81,14 +102,7 @@
"vite": "^4.5.0",
"vitest": "^0.34.6"
},
"keywords": [
"graph",
"network",
"infovis",
"visualization",
"react",
"webgl"
],
"keywords": ["graph", "network", "infovis", "visualization", "react", "webgl"],
"peerDependencies": {
"react": ">=16.0"
},
Expand Down

0 comments on commit 03770af

Please sign in to comment.