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
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