UNPKG

web-ext-deploy

Version:

A tool for deploying WebExtensions to multiple stores.

24 lines 1.25 kB
export declare class ChromeOptions { /** Get it from `https://chrome.google.com/webstore/detail/EXT_ID`<br> * E.g. `https://chrome.google.com/webstore/detail/fcphghnknhkimeagdglkljinmpbagone` */ extId: string; /** The client ID<br> * To obtain it, follow [this guide](https://github.com/fregante/chrome-webstore-upload-keys) */ clientId: string; /** The client secret<br> * To obtain it, follow [this guide](https://github.com/fregante/chrome-webstore-upload-keys) */ clientSecret: string; /** The refresh token<br> * To obtain it, follow [this guide](https://github.com/fregante/chrome-webstore-upload-keys) */ refreshToken: string; /** * The path to the ZIP, relative from the current working directory (`process.cwd()`)<br> * You can use `{version}`, which will be replaced by the `version` entry from your `package.json`, e.g. `some-zip-v{version}.zip` */ zip: string; /** Setting to `true` will result in every step of the deployment to be logged to the console */ verbose?: boolean; constructor(options: ChromeOptions); } export declare function prepareToDeployChrome(options: ChromeOptions): Promise<boolean>; //# sourceMappingURL=chrome-input.d.ts.map