1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-21 11:35:34 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
Oscar Hinton 4531846ff8 Add support for running unit tests (#381)
* Add test runner.

* Fix tests. Add tests for UtilsService.getDomain

* Test getHostname.

* Add two missing test cases and fix getDomain.
2017-11-17 16:33:58 -05:00
src Add support for running unit tests (#381) 2017-11-17 16:33:58 -05:00
store Revert "Added auto fill animation. (#341)" 2017-11-02 16:36:12 -04:00
.editorconfig Setup Webpack & TypeScript (#316) 2017-10-28 22:14:14 -04:00
.gitignore Add support for running unit tests (#381) 2017-11-17 16:33:58 -05:00
bitwarden-browser.sln added visual studio solution file. gitignored .vs folder 2016-08-30 23:53:58 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md 2017-05-20 23:30:55 -04:00
crowdin.yml Update Crowdin configuration file 2017-05-20 16:17:04 -04:00
gulpfile.js rename: dist => build, releases => dist 2017-11-16 11:23:53 -05:00
karma.conf.js Add support for running unit tests (#381) 2017-11-17 16:33:58 -05:00
LICENSE.txt license 2016-10-10 18:36:38 -04:00
package.json Add support for running unit tests (#381) 2017-11-17 16:33:58 -05:00
README.md update readme for build folder 2017-11-16 11:25:43 -05:00
SECURITY.md Update SECURITY.md 2017-05-19 12:03:58 -04:00
tsconfig.json Add support for running unit tests (#381) 2017-11-17 16:33:58 -05:00
tslint.json edge hates for of loops :( 2017-11-16 12:49:23 -05:00
webfonts.list Added google web fonts. 2016-10-25 21:13:59 -04:00
webpack.common.js rename: dist => build, releases => dist 2017-11-16 11:23:53 -05:00
webpack.dev.js few more formatting fixes 2017-10-28 22:47:01 -04:00
webpack.prod.js Change filename of css. (#365) 2017-11-09 14:29:09 -05:00

appveyor build Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

bitwarden Browser Extension

The bitwarden browser extension is written using the Chrome Web Extension API and AngularJS.

Alt text

Build/Run

Requirements

  • Node.js
  • Gulp (npm install --global gulp-cli)
  • Chrome (preferred), Opera, or Firefox browser

By default the extension is targeting the production API. If you are running the Core API locally, you'll need to switch the extension to target your local instance. Open src/services/api.service.ts and set this.baseUrl and this.identityBaseUrl to your local API instance (ex. http://localhost:5000).

Then run the following commands:

npm install
npm run dev:watch

You can now load the extension into your browser through the browser's extension tools page:

  • Chrome/Opera:
    1. Type chrome://extensions in your address bar to bring up the extensions page.
    2. Enable developer mode (checkbox)
    3. Click the "Load unpacked extension" button, navigate to the build folder of your local extension instance, and click "Ok".
  • Firefox
    1. Type about:debugging in your address bar to bring up the add-ons page.
    2. Click the Load Temporary Add-on button, navigate to the build/manifest.json file, and "Open".

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch. Learn more about how to contribute by reading the CONTRIBUTING.md file.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.