blob: 268a85a983a082f3c23b817ca9d9f02cdac90aca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# JavaScript Development
JavaScript is built and minified using gulp.
Therefore you need to install nodejs 5.6+ and npm. Then use npm to install **gulp-cli**:
sudo npm -g install gulp-cli
Then install the local dependencies by running:
npm install
## Tasks
The following tasks are available:
* **Build the JavaScript**: gulp
* **Watch for changes and build JavaScript**: gulp watch
* **Run JavaScript unit tests**: gulp karma
* **Watch for changes and run JavaScript unit tests**: gulp watch-karma
* **Watch for changes and run PHP unit tests**: gulp watch-phpuni
|