Skip to content

Commit

Permalink
Fix package exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Dec 4, 2023
1 parent eaad9ba commit bf89b2e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@
"name": "h5wasm",
"version": "0.6.10",
"description": "A high-level library for reading and writing HDF5 files from Javascript, using a wasm-compiled version of the HDF5 C library",
"types": "./src/hdf5_hl.d.ts",
"type": "module",
"main": "./dist/node/hdf5_hl.js",
"main": "./dist/iife/hdf5_hl.js",
"module": "./dist/esm/hdf5_hl.js",
"browser": "./dist/iife/h5wasm.js",
"types": "./src/hdf5_hl.d.ts",
"exports": {
"types": "./src/hdf5_hl.d.ts",
"node": "./dist/node/hdf5_hl.js",
"import": "./dist/esm/hdf5_hl.js"
".": {
"types": "./src/hdf5_hl.d.ts",
"import": "./dist/esm/hdf5_hl.js"
},
"./node": {
"types": "./src/hdf5_hl.d.ts",
"import": "./dist/node/hdf5_hl.js"
}
},
"scripts": {
"build": "npm run build_esm && npm run build_node && npm run build_types && npm run build_iife",
Expand Down

0 comments on commit bf89b2e

Please sign in to comment.