summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Treffler <mail@jonathan-treffler.de>2020-08-07 12:43:52 +0200
committerSimon Spannagel <simonspa@kth.se>2021-12-16 20:17:31 +0100
commit676ac7bd2f23eb9b3d56ead782678e1c5af1e42b (patch)
tree8b3be5bcb900bd315f7d744569cd778887cc0000
parente11573e64736f838b05b9af84b0a26d13c1aac3f (diff)
updated js programming readme
Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
-rw-r--r--src/README.md (renamed from js-old/README.md)18
1 files changed, 10 insertions, 8 deletions
diff --git a/js-old/README.md b/src/README.md
index aa72e4977..5edd4eb7c 100644
--- a/js-old/README.md
+++ b/src/README.md
@@ -1,9 +1,7 @@
# JavaScript Development
-JavaScript is built and minified using gulp.
+JavaScript is built and minified using webpack.
-Therefore you need to install **Node.js 6+ and npm**. Then use npm to install **gulp-cli**:
-
- sudo npm -g install gulp-cli
+Therefore you need to install **Node.js 6+ and npm**.
Then install the local dependencies by running:
@@ -14,16 +12,20 @@ The following tasks are available:
* **Build the JavaScript**:
- gulp
+ npm run build
+
+* **Build the JavaScript in Dev Mode**:
+
+ npm run build
* **Watch for changes and build JavaScript**:
- gulp watch
+ npm run watch
* **Run JavaScript unit tests**:
- gulp karma
+ npm run karma
* **Watch for changes and run JavaScript unit tests**:
- gulp watch-karma
+ npm run watch-karma