<commit_before># Lockbox for Firefox

Lockbox for Firefox is a work-in-progress extension for Firefox to improve upon
Firefox's built-in password management. If you're interested, you should
probably come back later when we have more to show!

## Building

To **build the project**, simply run:

```sh
$ cd lockbox-extension/
$ npm install
$ npm run-script build
```

This puts all the necessary files in the `dist/` directory, which you can then
load into Firefox (e.g. `about:debugging`).

If you'd like to **build an .xpi**, you can run:

```sh
$ npm run-script package
```

The resulting add-on is unsigned and likely won't work on release versions of
Firefox. You can flip the `xpinstall.signatures.required` preference on other
channels accordingly.

In preparation for 57, legacy extensions are also disabled. So you'll need to flip the `extensions.legacy.enabled` preference, too.

If you'd like to quickly **start up a new Firefox profile** with Lockbox
installed for development/testing, you can run:

```sh
$ npm run-script run
```

To include additional flags for a specific run, append them after `--`:

```
npm run-script run -- -b nightly
```

To specify flags to use regularly, use `npm config set jpm_runflags`:

```
npm config set jpm_runflags="-b nightly"
```

## License

This add-on is [licensed][license-link] under the Mozilla Public License,
version 2.0.

[license-link]: /LICENSE<commit_msg>separate building vs quick run instructions, consistent script blocks<commit_after># Lockbox for Firefox

Lockbox for Firefox is a work-in-progress extension for Firefox to improve upon
Firefox's built-in password management. If you're interested, you should
probably come back later when we have more to show!

## Installing

To **build the project** and install dependencies, simply run:

```sh
npm install
```

## Building

To **build the project**, simple run:

```sh
npm run-script build
```

This puts all the necessary files in the `dist/` directory, which you can then
load into Firefox (e.g. `about:debugging`).

If you'd like to **build an extension .xpi**, you can run:

```sh
npm run-script package
```

The resulting add-on is unsigned and likely won't work on release versions of
Firefox. You can flip the `xpinstall.signatures.required` preference on other
channels accordingly.

In preparation for 57, legacy extensions are also disabled. So you'll need to flip the `extensions.legacy.enabled` preference, too.

## Quick Start

If you'd like to quickly **start up a new Firefox profile** with Lockbox
installed for development/testing, you can run:

```sh
npm run-script run
```

To include additional flags for a specific run, append them after `--`:

```sh
npm run-script run -- -b nightly
```

To specify flags to use regularly, use `npm config set jpm_runflags`:

```sh
npm config set jpm_runflags="-b nightly"
```

## License

This add-on is [licensed][license-link] under the Mozilla Public License,
version 2.0.

[license-link]: /LICENSE
{'fraction_non_alphanumeric': 0.0967741935483871, 'fraction_numerical': 0.002688172043010753, 'mean_word_length': 4.422586520947177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2667614', 'n_tokens_mistral': 901, 'n_tokens_neox': 826, 'n_words': 409}