1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-05-08 04:34:06 +02:00
Nextcloud-News/js
Benjamin Brahmer f60af4eca7 Update for Nextcloud 19
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2020-04-23 11:46:33 +02:00
..
admin Use regular promise for http calls 2017-06-10 11:19:07 +02:00
app Cleanup JS and prolong error notification 2019-03-05 11:35:14 +01:00
controller Translate youtube channel and user URL into their feed () 2020-01-11 15:07:23 +01:00
directive fix search 2019-03-15 09:29:37 +01:00
filter Adjust copyright header 2016-07-23 21:32:42 +02:00
gui New layout fix, scrolling and keyboard shortcuts fixes 2018-08-03 16:25:16 +02:00
plugin version bump 2015-01-26 10:50:37 +01:00
service Cleanup JS and prolong error notification 2019-03-05 11:35:14 +01:00
tests Fix tests 2017-06-10 11:19:07 +02:00
.jshintignore Remove bower, install everything using npm () 2017-06-18 12:19:38 +02:00
.jshintrc Cleanup JS and prolong error notification 2019-03-05 11:35:14 +01:00
gulpfile.js Bump versions and remove outdated file () 2019-12-25 07:01:54 +01:00
karma.conf.js Remove bower, install everything using npm () 2017-06-18 12:19:38 +02:00
package-lock.json Update for Nextcloud 19 2020-04-23 11:46:33 +02:00
package.json Update for Nextcloud 19 2020-04-23 11:46:33 +02:00
protractor.conf.js Adjust copyright header 2016-07-23 21:32:42 +02:00
README.md Bump versions and remove outdated file () 2019-12-25 07:01:54 +01:00

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