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
startpart ofextension-createavailable as a standalone package.
This package stores all logic needed by extension-create to start new projects.
Installation
npm i @extension-create/developUsage
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-helloImported 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.