|
64 | 64 | ], |
65 | 65 | "scripts": { |
66 | 66 | "build": "rslib", |
67 | | - "build:native": "napi build --platform --manifest-path ../../Cargo.toml --package rstack-binding --package-json-path package.json --output-dir . --js binding.cjs --dts binding.d.cts", |
68 | | - "build:native:release": "napi build --platform --release --manifest-path ../../Cargo.toml --package rstack-binding --package-json-path package.json --output-dir . --js binding.cjs --dts binding.d.cts", |
| 67 | + "build:native": "napi build --config-path napi.json --platform --manifest-path ../../Cargo.toml --package rstack-binding --package-json-path package.json --output-dir . --js binding.cjs --dts binding.d.cts", |
| 68 | + "build:native:release": "napi build --config-path napi.json --platform --release --manifest-path ../../Cargo.toml --package rstack-binding --package-json-path package.json --output-dir . --js binding.cjs --dts binding.d.cts", |
69 | 69 | "dev": "rslib -w", |
| 70 | + "package:native": "napi create-npm-dirs --config-path napi.json", |
70 | 71 | "test": "rs test" |
71 | 72 | }, |
72 | 73 | "dependencies": { |
|
112 | 113 | "publishConfig": { |
113 | 114 | "access": "public", |
114 | 115 | "registry": "https://registry.npmjs.org/" |
115 | | - }, |
116 | | - "napi": { |
117 | | - "binaryName": "rstack", |
118 | | - "packageName": "@rstackjs/binding", |
119 | | - "targets": [ |
120 | | - "x86_64-unknown-linux-gnu", |
121 | | - "aarch64-unknown-linux-gnu", |
122 | | - "x86_64-pc-windows-msvc", |
123 | | - "aarch64-apple-darwin", |
124 | | - "powerpc64le-unknown-linux-gnu", |
125 | | - "s390x-unknown-linux-gnu", |
126 | | - "aarch64-pc-windows-msvc", |
127 | | - "x86_64-apple-darwin", |
128 | | - "x86_64-unknown-linux-musl", |
129 | | - "riscv64gc-unknown-linux-gnu", |
130 | | - "aarch64-unknown-linux-musl", |
131 | | - "riscv64gc-unknown-linux-musl", |
132 | | - "i686-pc-windows-msvc" |
133 | | - ] |
134 | 116 | } |
135 | 117 | } |
0 commit comments