|
4 weeks ago | |
---|---|---|
addon | 1 month ago | |
tests | 4 weeks ago | |
.eslintrc.json | 12 months ago | |
.gitconfig | 2 months ago | |
.gitignore | 2 months ago | |
.mocharc.json | 2 years ago | |
DEVELOPMENT.md | 2 months ago | |
Dockerfile | 2 years ago | |
Makefile | 10 months ago | |
README.md | 2 months ago | |
makeXPI.bat | 2 months ago | |
manual-and-test.md | 1 year ago | |
package-lock.json | 1 year ago | |
package.json | 3 months ago |
MOSTLY OUT-OF-DATE (Feb. 2021)
This is a Thunderbird extension providing p≡privacy to your mail. It relies on the p≡p JSON adapter to access the key management, synchronisation and automation logic provided by the p≡p engine.
Using bash
Just run make
to build from the current source, producing a file in
build/p4t.xpi
that can be installed from Thunderbird's add-ons
manager page clicking on "Install from file". For information about
building and running the engine adapter see its repo.
cd addon ; zip -r ../build/pEp4Tb@pEp.security.xpi . ; cd ..
You can parse the code with Babel in order to
catch syntax errors. After installing with npm install
just run:
npm run syntaxCheck
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)
To run tests first is needed to install all dependencies
npm install
npm run test
npm run linttest
Check the DEVELOPMENT.md
file here for a collection of development
notes. See also our dev wiki.