mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2024-11-21 04:42:49 +01:00
fbf079ac01
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases) - [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v3.1.1...v3.2.0) --- updated-dependencies: - dependency-name: karma-chrome-launcher dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
admin | ||
app | ||
controller | ||
directive | ||
filter | ||
gui | ||
plugin | ||
service | ||
tests | ||
.jshintignore | ||
.jshintrc | ||
gulpfile.js | ||
karma.conf.js | ||
package-lock.json | ||
package.json | ||
protractor.conf.js | ||
README.md |
JavaScript Development
JavaScript is built and minified using gulp.
Therefore you need to install Node.js 6+ and npm. Then use npm to install gulp-cli:
sudo npm -g install gulp-cli
Then install the local dependencies by running:
npm install
Tasks
The following tasks are available:
-
Build the JavaScript:
gulp
-
Watch for changes and build JavaScript:
gulp watch
-
Run JavaScript unit tests:
gulp karma
-
Watch for changes and run JavaScript unit tests:
gulp watch-karma