Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naokikimura/gulp-chrome-web-store

Upload and publish items to the Chrome Web Store with Gulp
https://github.com/naokikimura/gulp-chrome-web-store

chrome-web-store gulpplugin

Last synced: about 1 month ago
JSON representation

Upload and publish items to the Chrome Web Store with Gulp

Awesome Lists containing this project

README

        

# gulp-chrome-web-store

[![npm version](https://badge.fury.io/js/gulp-chrome-web-store.svg)](https://badge.fury.io/js/gulp-chrome-web-store) [![CircleCI](https://circleci.com/gh/naokikimura/gulp-chrome-web-store.svg?style=svg)](https://circleci.com/gh/naokikimura/gulp-chrome-web-store) [![Known Vulnerabilities](https://snyk.io/test/github/naokikimura/gulp-chrome-web-store/badge.svg?targetFile=package.json)](https://snyk.io/test/github/naokikimura/gulp-chrome-web-store?targetFile=package.json)

Upload and publish items to the Chrome Web Store with Gulp

## Installation

```sh
npm i -D gulp-chrome-web-store
```

## Configuration

Refer to [this page](https://developer.chrome.com/webstore/using_webstore_api) to get the response of credentials and access token.

Set that value in an environment variable.
- `CHROME_WEB_STORE_API_CREDENTIAL`
- `CHROME_WEB_STORE_API_ACCESS_TOKEN_RESPONSE`

For example:
```sh
export CHROME_WEB_STORE_API_CREDENTIAL=$( cat < {
return gulp.src('your-chrome-extension.zip')
.pipe(item.upload());
}

exports.publish = () => {
return item.publish();
}
```