2019-06-05 23:35:01 +02:00
|
|
|
# Build guide for AMO
|
|
|
|
|
|
|
|
## Build platform
|
|
|
|
|
2019-09-14 23:01:02 +02:00
|
|
|
The extension is built on a PC running Manjaro Linux. npm and node are installed from repositories/aur.
|
2019-06-05 23:35:01 +02:00
|
|
|
|
2020-06-14 23:41:02 +02:00
|
|
|
### Software versions:
|
|
|
|
|
|
|
|
Node/npm versions:
|
|
|
|
|
|
|
|
```
|
|
|
|
node: %%NODE_VERSION%%
|
|
|
|
npm: %%NPM_VERSION%%
|
|
|
|
```
|
|
|
|
|
|
|
|
Linux (`uname -a`):
|
|
|
|
|
|
|
|
```
|
2020-06-16 21:35:21 +02:00
|
|
|
%%LINUX_VERSION%%
|
2020-06-14 23:41:02 +02:00
|
|
|
```
|
|
|
|
|
2019-06-05 23:35:01 +02:00
|
|
|
|
|
|
|
## Installing dependencies
|
|
|
|
|
2019-09-14 23:01:02 +02:00
|
|
|
Run `npm ci`
|
2019-06-05 23:35:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
## Reproducing build
|
|
|
|
|
|
|
|
`npm run build`
|
|
|
|
|
2020-06-16 21:35:21 +02:00
|
|
|
The compiled code pops up in `/dist-ff` (`/dist-chrome` for Chromium-based browsers).
|