⚠️ This project is going to be archived.https://github.com/brave/brave-core. Pull requests against this repository are going to be ignored.
If you're looking to contribute to brave-extension, check out its new home at
Brave Only Extension
Experiment moving part of the Brave UI into an extension for use in Brave only (Not Chrome, it will use APIs not available in Chrome)
Installation
# clone brave-extension
$ git clone [email protected]:brave/brave-extension.git
# Install dependencies
$ cd brave-extension
$ npm install
Development
# Build files will appear in './dev'
# Start webpack development server
$ npm run dev
Release
Build
# build files to './build'
$ npm run build
Packaging
# compress release into a brave.zip and brave.crx.
$ npm run build
$ npm run compress -- [options]
Test
test/app
: React components, Redux actions & reducers teststest/e2e
: E2E tests (use chromedriver, selenium-webdriver)
# lint
$ npm run test-unit
# test/e2e
$ npm run-script build
$ npm run test-e2e