diff options
author | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-07 12:43:52 +0200 |
---|---|---|
committer | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-08 20:43:56 +0200 |
commit | 05626c5f35145f73850486303899e36ac3a6a023 (patch) | |
tree | 5297bb0150549f7dcd49454ebec04e147371b210 | |
parent | 5d597f51024f38553d7e417244884fc7007d71ff (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 |