JSPM

  • Created
  • Published
  • Downloads 144
  • Score
    100M100P100Q68687F
  • License MIT

The develop step of extension-create

Package Exports

  • @extension-create/develop

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@extension-create/develop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@extension-create/develop

The start part of extension-create available as a standalone package.

This package stores all logic needed by extension-create to start new projects.

Installation

npm i @extension-create/develop

Usage

There are two ways of using it:

Standalone Executable

# Will start a new browser instance with my-extension-hello loaded.
npx @extension-create/start my-extension-hello

Imported CLI

Alternatively, if you're using commander, you can use @extension-create/start to extend you CLI. This is what extension-create does.

const {program} = require('commander')
const startExtensionCLI = require('@extension-create/start')

const yourCreateProgram = program

yourCreateProgram
  .version(packageJson.version)

startExtensionCLI(yourCreateProgram)

yourCreateProgram
  .parse(process.argv)

Program options table

Flag Argument What it does
-m, --manifest file path Specify a custom path for your extensions's manifest file

Contributing

See CONTRIBUTING.md

License

MIT (c) Cezar Augusto.