- Notifications
You must be signed in to change notification settings - Fork9
Tool to create a directory structure for getting started with an addon
License
NotificationsYou must be signed in to change notification settings
web-ext-labs/create-web-ext
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
create-web-ext is a scaffolding tool for browser extensions. It takes input few parameters and outputs a complete boilerplate browser extension project. This folder will contain all the required folders and files to get started with the extension.
$ npm install -g create-web-extYou are all set, check
$ create-web-ext -vcreate-web-ext version 1.0.0$ create-web-ext$ Addon name (My extension) myAddon$ Description My addon will rock \o/$ Version (0.0.1) 1.1.1$ Include background script? (y/n) y$ Include content script? (y/N) y$ Include browser action? (y/N) y$ Include page action? (y/N) y$ Include addon options? (y/N) y✨ Done.This will generate a directorymyAddon with following structure
myAddon ├── background_script.js ├── browserAction │ ├── index.html │ ├── script.js │ └── style.css ├── content_script.js ├── icons │ └── icon.png ├── manifest.json ├── options │ ├── index.html │ ├── script.js │ └── style.css └── pageAction ├── index.html ├── script.js └── style.cssOptionally, you may like:
- nvm, which helps manage node versions
You can now run it from any directory.
About
Tool to create a directory structure for getting started with an addon
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.