2021-11-21 12:59:56 +01:00
|
|
|
{
|
|
|
|
"name": "@next/swc",
|
2023-05-26 12:36:33 +02:00
|
|
|
"version": "13.4.5-canary.0",
|
2021-11-21 12:59:56 +01:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2023-05-10 03:14:37 +02:00
|
|
|
"clean": "node ../../scripts/rm.mjs 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",
|
2023-05-10 14:50:36 +02:00
|
|
|
"build-native-release": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --release --features plugin,rustls-tls,tracing/release_max_level_info --js false native",
|
2023-04-19 18:38:36 +02:00
|
|
|
"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",
|
2023-05-10 14:50:36 +02:00
|
|
|
"build-native-no-plugin-woa-release": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --release --cargo-flags=--no-default-features --features native-tls,tracing/release_max_level_info --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
|
|
|
}
|
|
|
|
}
|