Skip to content

Commit 6f4328b

Browse files
committed
update package.json format to napi v3 format
1 parent d19b9c4 commit 6f4328b

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

package.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@
88
"main": "index.js",
99
"types": "index.d.ts",
1010
"napi": {
11-
"name": "we-rust-utils",
12-
"triples": {
13-
"additional": [
14-
"aarch64-apple-darwin",
15-
"x86_64-apple-darwin",
16-
"aarch64-unknown-linux-gnu",
17-
"x86_64-unknown-linux-gnu",
18-
"x86_64-pc-windows-msvc"
19-
]
20-
}
11+
"binaryName": "we-rust-utils",
12+
"targets": [
13+
"aarch64-apple-darwin",
14+
"x86_64-apple-darwin",
15+
"aarch64-unknown-linux-gnu",
16+
"x86_64-unknown-linux-gnu",
17+
"x86_64-pc-windows-msvc"
18+
]
2119
},
2220
"license": "MIT",
2321
"devDependencies": {

0 commit comments

Comments
 (0)