0.5.0 • Published 3 years ago
weather-extension-axe v0.5.0
React Chrome Extension Boilerplate
Getting Started
npm i
to install dependanciesnpm start
to start running the fast development mode Webpack build process that bundle files into thedist
foldernpm i --save-dev <package_name>
to install new packages
Loading The Chrome Extension
- Open Chrome and navigate to
chrome://extensions/
- Toggle on
Developer mode
in the top right corner - Click
Load unpacked
- Select the entire
dist
folder
Important Initial Steps
git init
to start a new git repo for tracking your changes, do an initial base commit with all the default files- Update
package.json
, important fields includeauthor
,version
,name
anddescription
- Update
manifest.json
, important fields includeversion
,name
anddescription
- Update
webpack.commmon.js
, the title in thegetHtmlPlugins
function should be your extension name
Production Build
npm run build
to generate a minimized production build in thedist
folder- ZIP the entire
dist
folder (e.g.dist.zip
) - Publish the ZIP file on the Chrome Web Store Developer Dashboard!
Important Default Boilerplate Notes
- Folders get flattened, static references to images from HTML do not need to be relative (i.e.
icon.png
instead of../static/icon.png
) - Importing local ts/tsx/css files should be relative, since Webpack will build a dependancy graph using these paths
Update the manifest file as per usual for chrome related permissions, references to files in here should also be flattened and not be relative
0.5.0-develop.3
3 years ago
0.5.0-develop.2
3 years ago
0.5.0-develop.1
3 years ago
0.5.0-next.19
3 years ago
0.5.0-next.18
3 years ago
0.5.0-next.17
3 years ago
0.5.0-next.16
3 years ago
0.5.0-next.15
3 years ago
0.5.0-next.14
3 years ago
0.5.0-next.13
3 years ago
0.5.0-next.12
3 years ago
0.5.0-next.11
3 years ago
0.5.0-next.10
3 years ago
0.5.0-next.9
3 years ago
0.5.0-next.8
3 years ago
0.5.0-next.7
3 years ago
0.5.0-next.6
3 years ago
0.5.0-next.5
3 years ago
0.5.0-next.2
3 years ago
0.5.0-next.1
3 years ago
0.5.0
3 years ago
0.1.50
3 years ago
0.1.49
3 years ago
0.1.48
3 years ago