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.

29 lines
668 B

5 years ago
# p≡p for Thunderbird
Using docker
```docker build -t <image_tag> . && docker run -v build:/usr/src/app/build <image_tag> ```
Using bash
```zip -r build/ 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