Skip to content

Commit 4e7b1a9

Browse files
committed
Move cmake-ts to optionalDependencies
This allows this package to be used as a dependency (in built form) even when the compilation tools can't be installed.
1 parent ea05c35 commit 4e7b1a9

File tree

2 files changed

+121
-45
lines changed

2 files changed

+121
-45
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
},
2020
"homepage": "http://zeromq.github.io/zeromq.js/",
2121
"dependencies": {
22-
"@aminya/cmake-ts": "^0.3.0-aminya.7",
2322
"node-addon-api": "^8.3.0"
2423
},
2524
"devDependencies": {
@@ -60,6 +59,9 @@
6059
"typescript": "~4.9.5",
6160
"which": "^5.0.0"
6261
},
62+
"optionalDependencies": {
63+
"@aminya/cmake-ts": "0.3.0-aminya.7"
64+
},
6365
"pnpm": {
6466
"overrides": {
6567
"typescript": "~4.9.5",

0 commit comments

Comments
 (0)