Skip to content

Commit

Permalink
Move cmake-ts and node-addon-api to optionalDependencies
Browse files Browse the repository at this point in the history
This allows this package to be used as a dependency (in built form) even when the compilation tools can't be installed.
  • Loading branch information
rotu committed Jan 6, 2025
1 parent 6777924 commit 350518a
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 49 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
"url": "https://github.com/zeromq/zeromq.js.git"
},
"homepage": "http://zeromq.github.io/zeromq.js/",
"dependencies": {
"@aminya/cmake-ts": "^0.3.0-aminya.7",
"node-addon-api": "^8.3.0"
},
"devDependencies": {
"@types/benchmark": "~2.1.5",
"@types/chai": "^4",
Expand Down Expand Up @@ -66,6 +62,10 @@
"typescript": "~4.9.5",
"which": "^5.0.0"
},
"optionalDependencies": {
"@aminya/cmake-ts": "0.3.0-aminya.7",
"node-addon-api": "^8.3.0"
},
"pnpm": {
"overrides": {
"typescript": "~4.9.5",
Expand Down Expand Up @@ -246,4 +246,4 @@
],
"license": "MIT AND MPL-2.0",
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>"
}
}
Loading

0 comments on commit 350518a

Please sign in to comment.