fix(js): specify which platforms to build for

This commit is contained in:
əlemi 2024-09-10 00:34:56 +02:00
parent 241c3d6eb9
commit c69dc2f68a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -25,11 +25,14 @@
}, },
"napi": { "napi": {
"name": "codemp", "name": "codemp",
"targets": [ "triples": {
"x86_64-unknown-linux-gnu", "defaults": false,
"x86_64-pc-windows-msvc", "additional": [
"aarch64-apple-darwin" "x86_64-unknown-linux-gnu",
] "x86_64-pc-windows-msvc",
"aarch64-apple-darwin"
]
}
}, },
"optionalDependencies": { "optionalDependencies": {
"@codemp/native-win32-x64-msvc": "0.0.4", "@codemp/native-win32-x64-msvc": "0.0.4",