Trustroot Chrome Browser Extension
The Trustroot Chrome browser extension is built on top of React and is built using Webpack.
Initial Environment Setup
For Mac OS X users, it is recommended to install the latest version of Node.js using nvm.
- Install yarn:
npm install -g yarn.
Running Local Development Server
npm run start
- Load your extension on Chrome following:
- Click on
Load unpacked extension
- Select the
Creating Production Build
To build the final extension code, run the following command:
$ NODE_ENV=production npm run build
Basic Webpack setup of this project is built on top of the Chrome Extension Boilerplate by Samuel Simões.