@@ -339,10 +339,10 @@ extension PackageToJS.BuildOptions {
339339 --product <product> Product to build (default: executable target if there's only one)
340340 --output <path> Path to the output directory (default: .build/plugins/PackageToJS/outputs/Package)
341341 --package-name <name> Name of the package (default: lowercased Package.swift name)
342- --explain Whether to explain the build plan (default: false)
343- --no-optimize Whether to disable wasm-opt optimization (default: false)
344- --use-cdn Whether to use CDN for dependency packages (default: false)
345- --enable-code-coverage Whether to enable code coverage collection (default: false)
342+ --explain Whether to explain the build plan
343+ --no-optimize Whether to disable wasm-opt optimization
344+ --use-cdn Whether to use CDN for dependency packages
345+ --enable-code-coverage Whether to enable code coverage collection
346346 --debug-info-format The format of debug info to keep in the final wasm file (values: none, dwarf, name; default: none)
347347
348348 SUBCOMMANDS:
@@ -394,13 +394,13 @@ extension PackageToJS.TestOptions {
394394 USAGE: swift package --swift-sdk <swift-sdk> [SwiftPM options] js test [options]
395395
396396 OPTIONS:
397- --build-only Whether to build only (default: false)
397+ --build-only Whether to build only
398398 --prelude <path> Path to the prelude script
399- --environment <name> The environment to use for the tests
399+ --environment <name> The environment to use for the tests (values: node, browser; default: node)
400400 --inspect Whether to run tests in the browser with inspector enabled
401- --use-cdn Whether to use CDN for dependency packages (default: false)
402- --enable-code-coverage Whether to enable code coverage collection (default: false)
403- --verbose Whether to print verbose output (default: false)
401+ --use-cdn Whether to use CDN for dependency packages
402+ --enable-code-coverage Whether to enable code coverage collection
403+ --verbose Whether to print verbose output
404404 -Xnode <args> Extra arguments to pass to Node.js
405405
406406 EXAMPLES:
0 commit comments