summaryrefslogtreecommitdiffstats
path: root/src/README.md
blob: 5edd4eb7c4121c0fcd4d4290c361f6f442a9182c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# JavaScript Development
JavaScript is built and minified using webpack.

Therefore you need to install **Node.js 6+ and npm**.

Then install the local dependencies by running:

	npm install

## Tasks
The following tasks are available:

* **Build the JavaScript**:

        npm run build

* **Build the JavaScript in Dev Mode**:

				npm run build

* **Watch for changes and build JavaScript**:

        npm run watch

* **Run JavaScript unit tests**:

        npm run karma

* **Watch for changes and run JavaScript unit tests**:

        npm run watch-karma