summaryrefslogtreecommitdiffstats
path: root/src/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/README.md')
-rw-r--r--src/README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/README.md b/src/README.md
new file mode 100644
index 000000000..5edd4eb7c
--- /dev/null
+++ b/src/README.md
@@ -0,0 +1,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