2021-11-21 12:59:56 +01:00
|
|
|
{
|
|
|
|
"name": "@next/swc",
|
2023-04-24 11:23:39 +02:00
|
|
|
"version": "13.3.2-canary.2",
|
2021-11-21 12:59:56 +01:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2023-01-26 22:24:19 +01:00
|
|
|
"clean": "rm -rf ./native/*",
|
2023-04-19 18:38:36 +02:00
|
|
|
"build-native": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --features plugin,rustls-tls --js false native",
|
|
|
|
"build-native-woa": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --cargo-flags=--no-default-features --features plugin,native-tls --js false native",
|
|
|
|
"build-native-no-plugin": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --js false native",
|
|
|
|
"build-native-no-plugin-woa": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --cargo-flags=--no-default-features --features native-tls --js false native",
|
2022-11-15 17:24:04 +01:00
|
|
|
"build-wasm": "wasm-pack build crates/wasm --scope=next",
|
2023-04-18 14:12:00 +02:00
|
|
|
"cache-build-native": "echo $(ls native)"
|
2021-11-21 12:59:56 +01:00
|
|
|
},
|
|
|
|
"napi": {
|
|
|
|
"name": "next-swc",
|
|
|
|
"triples": {
|
|
|
|
"defaults": true,
|
|
|
|
"additional": [
|
|
|
|
"i686-pc-windows-msvc",
|
|
|
|
"aarch64-unknown-linux-gnu",
|
|
|
|
"aarch64-apple-darwin",
|
|
|
|
"x86_64-unknown-linux-musl",
|
|
|
|
"aarch64-unknown-linux-musl",
|
|
|
|
"aarch64-pc-windows-msvc"
|
|
|
|
]
|
|
|
|
}
|
2022-07-31 00:08:50 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-10 20:58:55 +01:00
|
|
|
"@napi-rs/cli": "2.14.7"
|
2021-11-21 12:59:56 +01:00
|
|
|
}
|
|
|
|
}
|