GitXplorerGitXplorer
e

chrome-extension-deploy

public
25 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
f39b4e969dc973d85de8c8ea49611fc3f43689fd

Merge pull request #15 from erikdesjardins/no-badge

eerikdesjardins committed 5 years ago
Verified
ea01e0c6bb9f0f70edb6a9fda66ff24bee8946a6

Update README.md

eerikdesjardins committed 5 years ago
Verified
40f691e17234250f8287f6295cbdb911c17e611a

Merge pull request #14 from erikdesjardins/ghact

eerikdesjardins committed 5 years ago
Unverified
3ad7d6d950411c88c8d1af67cf8dc1e072940925

use github actions

eerikdesjardins committed 5 years ago
Unverified
68c3d48614f69f762e4a6d91f6cf157338b8192b

Merge pull request #13 from erikdesjardins/link

eerikdesjardins committed 8 years ago
Unverified
b03eb274ec306457b82844e00ffcdb4ef034896e

link to chrome-webstore-upload

eerikdesjardins committed 8 years ago

README

The README file for this repository.

chrome-extension-deploy

Deploy Chrome extensions to the Chrome Web Store.

You should probably use chrome-webstore-upload or chrome-webstore-upload-cli instead.

Installation

npm install --save-dev chrome-extension-deploy

Usage

var fs = require('fs');
var deploy = require('chrome-extension-deploy');

deploy({
  // obtained by following the instructions here:
  // https://developer.chrome.com/webstore/using_webstore_api#beforeyoubegin
  clientId: 'myClientId',
  clientSecret: 'myClientSecret',
  refreshToken: 'myRefreshToken',

  // the ID of your extension
  id: 'kpohkfndjhilfenfoljcpcacccfngemc',

  // a Buffer or string containing your zipped extension
  zip: fs.readFileSync('path/to/zipped/extension.zip'),

  // whether to publish your extension to the public or trusted testers
  // OPTIONAL (default `deploy.PUBLIC`)
  to: deploy.TRUSTED_TESTERS
}).then(function() {
  // success!
}, function(err) {
  // failure :(
  // errors are sanitized, so your tokens will not be leaked
});