Skip to content

Commit

Permalink
chore: try to add exports
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Feb 24, 2025
1 parent c126351 commit c8f9a23
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 203 deletions.
25 changes: 15 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"url": "https://github.com/fu050409"
},
"main": "index.js",
"exports": {
".": {
"import": "./index.js",
"require": "./index.js"
}
},
"type": "commonjs",
"repository": "https://github.com/noctisynth/archons.git",
"license": "MIT",
Expand Down Expand Up @@ -65,20 +71,20 @@
"postinstall": "husky"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@changesets/cli": "^2.28.1",
"@napi-rs/cli": "^2.18.4",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.10.9",
"@swc/core": "^1.10.18",
"@taplo/cli": "^0.7.0",
"@types/node": "^22.10.10",
"@types/node": "^22.13.5",
"ava": "^6.2.0",
"chalk": "^5.4.1",
"husky": "^9.1.7",
"lint-staged": "^15.4.2",
"lint-staged": "^15.4.3",
"npm-run-all2": "^7.0.2",
"oxlint": "^0.15.7",
"prettier": "^3.4.2",
"tinybench": "^3.1.0",
"oxlint": "^0.15.11",
"prettier": "^3.5.2",
"tinybench": "^3.1.1",
"typescript": "^5.7.3"
},
"lint-staged": {
Expand All @@ -105,9 +111,8 @@
"TS_NODE_PROJECT": "./tsconfig.json"
},
"nodeArguments": [
"--no-warnings",
"--loader=@swc-node/register/esm-register",
"--experimental-vm-modules"
"--import",
"@swc-node/register/esm-register"
]
},
"prettier": {
Expand Down
Loading

0 comments on commit c8f9a23

Please sign in to comment.