Format manifest.json to use on WebExtension from Chrome Extension
JavaScript
Latest commit b273414 Jun 24, 2016 @pastak 0.3.3
Permalink
Failed to load latest commit information.
bin fix package.json -> manifest.json Feb 11, 2016
libs Don't overwrite params Jun 24, 2016
test
.travis.yml .travis.yml Feb 6, 2016
LICENSE Initial commit Feb 5, 2016
README.md
package.json 0.3.3 Jun 24, 2016

README.md

wemf

Build Status

Format manifest.json to use on WebExtension from Chrome Extension

Install

% npm install -g wemf

Usage

  Usage: wemf <packageJsonPath> [options]

  Options:

    -h, --help          output usage information
    -V, --version       output the version number
    --validate          Only validate manifest.json
    -O --output <path>  Output manifest.json path
    -U --update         Update manifest.json itself

Formatter

% wemf /path/to/chrome-ext/manifest.json -O /path/to/firefox-ext/manifest.json

Validate

% wemf /path/to/firefox-ext/manifest.json --validate

if it has no problem, return nothing

Note

If you want to fill columns (ex: applications) automatically, you should write webextension column on project's package.json.

Example

{
  "name": "hoge",
  ...
  "webextension": {
    "applications": {
      "gecko": {
        "id": "sample-extension@example.org",
        "strict_min_version": "47.0a1"
      }
    }
  }
}

information

Please check newest information

Development

Welcome your Pull Request!!

Please fork it and send Pull Request to this repository.

Testing

% npm test