A clone of https://pep-security.lu/gitlab/thunderbird/pEpForThunderbird , with changes meant to be compatible with recent engines.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jorg Knobloch 28e97bbf7b Another installment in the never ending Re: processing litany. 3 years ago
chrome Another installment in the never ending Re: processing litany. 3 years ago
tests Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 3 years ago
.eslintrc.json Linting: restore prefer-template rule which was part of "airbnb-base", see rev. 1f567b1a286a. 3 years ago
.hgignore Ignore .idea folder 3 years ago
.mocharc.json Move forward Decrypt/Encrypt 4 years ago
DEVELOPMENT.md P4TB-131 add a disclaimer option 4 years ago
Dockerfile Show privacy ratings on emails on decrypt and on composing 4 years ago
Makefile Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 3 years ago
README.md More linting (object-curly-spacing). 3 years ago
manual-and-test.md P4TB-73 use identity `protectionDisabled` for disabled accounts 4 years ago
package-lock.json Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 3 years ago
package.json Change p4t and p4tb to pEp4Tb for chrome:, change preferences to pEp, general cleanup. 3 years ago

README.md

p≡p for Thunderbird

HOW TO BUILD

Using docker

docker build -t <image_tag> . && docker run -v build:/usr/src/app/build <image_tag>

Using bash

zip -r build/pEp4Tb@pEp.security.xpi chrome

Check syntax statically

You can parse the code with Babel in order to catch syntax errors. After installing with npm install just run:

npm run syntaxCheck

Run ESLint

You can run ESLint to check the style guides defined in .eslintrc.json with the npm script:

npm run lint

ESLint can auto fix some problems with the option --fix but most of them must be fixed manually:

npm run lint --fix
npm run lint -- --fix (on Windows)

Tests

To run tests first is needed to install all dependencies

npm install

Run

npm run test