awesome-templates / template-requests

Request a template.
9 stars 0 forks source link

A template for creating Chrome extension #2

Open egoist opened 5 years ago

egoist commented 5 years ago

What is this template for?

Some popular projects:

Are you willing to create this template?

Yes but if you wanna work on this, let me know!

notlmn commented 5 years ago

This is something that I can work on. I maintain notifier-for-github and am a longtime contributor to refined-github browser extension.

Both of the extensions mentioned above follow a similar project structure (except for TypeScript), let me know what you think about this structure. Both of them depend on webextension-polyfill for cross-browser support and have auto-publishing setup to deploy to Chrome Web Store and Mozilla Addons website from Travis.

egoist commented 5 years ago

@notlmn Awesome, I just added you to this org.

Both of the extensions mentioned above follow a similar project structure (except for TypeScript)

It's pretty easy to add TypeScript support if we're using Poi or Parcel to build the project, so maybe we can just go with pure JavaScript.

Both of them depend on webextension-polyfill for cross-browser support

That's neat.

notlmn commented 5 years ago

@notlmn Awesome, I just added you to this org.

Awesome, thanks!


It's pretty easy to add TypeScript support if we're using Poi or Parcel to build the project, so maybe we can just go with pure JavaScript.

Yes, I was thinking about starting out with plain JS too. Will poke around with Poi and also add documentation on changing to webpack or Parcel if needed.