question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

web-ext new: create the directory layout for an extension

See original GitHub issue

We should add a web-ext new command that automatically generate a manifest.json file and other common files to help the developer get started on a new WebExtension.

You could take a look at how ember new works for ideas.

The jpm init command is also similar but I like the general behavior of ember new better.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:6
  • Comments:26 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
rplcommented, Jun 25, 2021

@Fedcomp since when this issue was filed a few things are being done:

1reaction
Fedcompcommented, Jun 25, 2021

Reading this, i feel like you over-over-overcomplicate this. I am Rust user, and cargo new is very simple command. When i run web-ext new/init i expect same, VERY basic layout. No need for depedencies, no need for complicated logic. Just manifest, 1 empty content-script, 1 background script. Instead this issue went overengineering, and now it’s not resolved since 2016 (4 years!!!).

I suggest to implement web-ext new/init with very basic functionality for very basic template (and the only one, not extendedable or configurable) for new extension. If someone REALLY needs something more advanced, they would start new issue, after basic web-ext new/init is released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

create-web-ext - GitHub
Tool to create a directory structure for getting started with an addon - GitHub ... create-web-ext is a scaffolding tool for browser extensions....
Read more >
web-ext command reference | Firefox Extension Workshop
A list of glob patterns to define which files should be ignored by build , run , lint and other commands. If you...
Read more >
Anatomy of an extension - Mozilla - MDN Web Docs
An extension consists of a collection of files, packaged for ... Make packaged content accessible to web pages and content scripts.
Read more >
Firefox extension .xpi file structure: description, contents ...
The .xpi file for a Firefox Add-on SDK extension should be created by executing ... Go to your extension folder, open a terminal...
Read more >
Webex Wireless Phone 840 and 860 administration guide for ...
Softkey templates—You can set up the list of features that appear on ... your site policies and procedures for new extension provisioning, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found