Update BUILD.md
This commit is contained in:
parent
18f89e0fe7
commit
f7d65f3853
10
BUILD.md
10
BUILD.md
|
@ -5,6 +5,11 @@
|
||||||
1. Install [Node.js](https://nodejs.org/en/).
|
1. Install [Node.js](https://nodejs.org/en/).
|
||||||
2. Go to the project root, run `npm install`. This will install all required dependencies.
|
2. Go to the project root, run `npm install`. This will install all required dependencies.
|
||||||
|
|
||||||
|
Extra preparations are needed if you want to pull locale files from Transifex:
|
||||||
|
|
||||||
|
1. Install Transifex client. Follow the instructions on [this page](https://docs.transifex.com/client/installing-the-client).
|
||||||
|
2. You need a `.transifexrc` file in the root folder. Contact another admin if you need one. It includes the API key to use Transifex's API.
|
||||||
|
|
||||||
## Generate the ZIP release
|
## Generate the ZIP release
|
||||||
|
|
||||||
Use the following command to generate a ZIP file that can be submitted to AMO or CWS:
|
Use the following command to generate a ZIP file that can be submitted to AMO or CWS:
|
||||||
|
@ -50,11 +55,6 @@ To push files to Transifex:
|
||||||
npm run update-transifex
|
npm run update-transifex
|
||||||
```
|
```
|
||||||
|
|
||||||
Before running these commands, you need:
|
|
||||||
|
|
||||||
1. Transifex client. Follow the instructions on [this page](https://docs.transifex.com/client/installing-the-client).
|
|
||||||
2. The `.transifexrc` file in the root folder. Contact another admin if you need one. It includes the API key to use Transifex's API.
|
|
||||||
|
|
||||||
## 3rd-party libraries
|
## 3rd-party libraries
|
||||||
|
|
||||||
3rd-party libraries are managed by `npm`. Since Stylus is built with vanilla JS, we only use libraries that can run in the browser.
|
3rd-party libraries are managed by `npm`. Since Stylus is built with vanilla JS, we only use libraries that can run in the browser.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user