diff --git a/packages/browsers/package.json b/packages/browsers/package.json index ebce851d3af..265f23a4684 100644 --- a/packages/browsers/package.json +++ b/packages/browsers/package.json @@ -13,7 +13,7 @@ }, "wireit": { "build": { - "command": "tsc -b", + "command": "tsc -b && chmod a+x lib/cjs/browsers.js lib/esm/browsers.js", "files": [ "src/**/*.ts", "tsconfig.json" diff --git a/packages/browsers/src/CLI.ts b/packages/browsers/src/CLI.ts index 6f6f2dcda51..72628518876 100644 --- a/packages/browsers/src/CLI.ts +++ b/packages/browsers/src/CLI.ts @@ -149,6 +149,8 @@ export class CLI { choices: Object.values(BrowserPlatform), defaultDescription: 'Auto-detected by default.', }) + .demandCommand(1) + .help() .parse(); }