Skip to content

Commit

Permalink
fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jan 11, 2025
1 parent 714a8bb commit 57c2edd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,33 @@
"name": "hyperschema",
"version": "1.5.0",
"description": "Create registries of declarative compact-encoding schemas",
"main": "index.js",
"files": [
"lib/**",
"index.js",
"lib/*.js",
"builder.js",
"builder.cjs",
"runtime.cjs",
"runtime.js"
],
"exports": {
".": {
"import": "./index.mjs",
"default": "./index.cjs"
"import": "./builder.mjs",
"default": "./builder.cjs"
},
"./runtime": {
"import": "./runtime.mjs",
"default": "./runtime.cjs"
}
},
"imports": {
"fs": {
"bare": "bare-fs",
"default": "fs"
},
"path": {
"bare": "bare-path",
"default": "path"
}
},
"scripts": {
"test": "standard && brittle test/index.js",
"test:bare": "standard && bare test/index.js"
Expand All @@ -38,16 +49,6 @@
"generate-object-property": "^2.0.0",
"generate-string": "^1.0.1"
},
"imports": {
"fs": {
"bare": "bare-fs",
"default": "fs"
},
"path": {
"bare": "bare-path",
"default": "path"
}
},
"devDependencies": {
"brittle": "^3.7.0",
"standard": "^17.1.0",
Expand Down

0 comments on commit 57c2edd

Please sign in to comment.