webextension-scripts
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

webextension-scripts

This package includes scripts and configuration used by WebExtension Create.

Usage
webextension-scripts <script> [option]
Options
  • -v --version output the version number
  • -h --help output usage information
Commands
  • build build folders ready for distribution
  • init [template] initialize webextension-scripts in the current directory
  • start start developing with auto reload

Available Scripts

Usage:

npx webextension-create [options]

Options:

  • -v --version output the version number
  • -d --dev use link instead of install for webextension-scripts
  • -h --help output usage information

npm run start

Compiles the extension into ./build/unpacked to be loaded into your broswer for development. The extension automatically reloads when you save changes to the code.

Load into Chrome
  1. Open Chrome
  2. Go to chrome://extensions
  3. Turn on Developer mode
  4. Click Load unpacked
  5. Select folder ./build/unpacked
Load into Firefox
  1. Open Firefox
  2. Go to about:debugging
  3. Click Load Temporary Add-on...
  4. Open ./build/unpacked/manifest.json

npm run build

Compiles the extension into ./build/unpacked and then packages that into production ready zips at ./build/{target}-{version}.zip.

``

Readme

Keywords

none

Package Sidebar

Install

npm i webextension-scripts

Weekly Downloads

15

Version

0.7.0

License

ISC

Unpacked Size

81 kB

Total Files

54

Last publish

Collaborators

  • kadauchi