diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3b48236ffd..28d02c0baf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,9 +51,9 @@ Several command line arguments are available for these scripts: - `--all` - Builds all targets specified in [manifest-variants.json](dev/data/manifest-variants.json). - `--default` - Restores the default manifest file. - `--manifest ` - Overwrites `ext/manifest.json` with the manifest variant for the specified build target. -- `--dry-run` - Runs the full build process (excluding zip building), checking that the configuration is valid. -- `--dry-run-build-zip` - If `--dry-run` is also specified, zip building will also be performed in memory; no files are created. -- `--yomitan-version ` - Sets the version number in the extension manifest. Defaults to 0.0.0.0 if not set. +- `--dryRun` - Runs the full build process (excluding zip building), checking that the configuration is valid. +- `--dryRunBuildZip` - If `--dryRun` is also specified, zip building will also be performed in memory; no files are created. +- `--version ` - Sets the version number in the extension manifest. Defaults to 0.0.0.0 if not set. If no arguments are specified, the command is equivalent to `build.bat --all`. diff --git a/package.json b/package.json index b9de0673f5..bca8ac8a3f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "test-ts-test": "npx tsc --noEmit --project test/jsconfig.json", "test-code": "vitest run", "test-code-write": "vitest run --config test/data/vitest.write.config.json", - "test-build": "node ./dev/bin/build.js --dry-run --all", + "test-build": "node ./dev/bin/build.js --dryRun --all", "license-report": "license-report --output=html --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link --html.cssFile=dev/data/legal-npm.css > ext/legal-npm.html", "license-report-markdown": "license-report --output=markdown --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link" },