webextension-scripts
v0.7.0
Published
Configuration and scripts for WebExtension Create.
Readme
webextension-scripts
This package includes scripts and configuration used by WebExtension Create.
Usage
webextension-scripts <script> [option]Options
-v--versionoutput the version number-h--helpoutput usage information
Commands
buildbuild folders ready for distributioninit [template]initialize webextension-scripts in the current directorystartstart developing with auto reload
Available Scripts
Usage:
npx webextension-create [options]Options:
-v--versionoutput the version number-d--devuse link instead of install for webextension-scripts-h--helpoutput 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
- Open Chrome
- Go to
chrome://extensions - Turn on
Developer mode - Click
Load unpacked - Select folder
./build/unpacked
Load into Firefox
- Open Firefox
- Go to
about:debugging - Click
Load Temporary Add-on... - 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.
