1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 13:15:42 +02:00
Nextcloud-News/js
2016-04-18 21:21:22 +02:00
..
admin fix 2016-01-06 21:59:50 +01:00
app Fix 2016-04-13 18:46:11 +02:00
controller Fix 2016-04-18 21:18:13 +02:00
directive Fix 2016-04-18 21:18:13 +02:00
filter port to es5 and add es6 shims for object prototypes instead 2014-09-11 03:55:52 +02:00
gui Fix 2016-04-18 21:18:13 +02:00
plugin version bump 2015-01-26 10:50:37 +01:00
service Fix 2016-04-12 22:16:13 +02:00
tests fix linting error 2016-04-18 21:21:22 +02:00
.bowerrc add basic files for js rewrite 2014-05-15 04:36:40 +02:00
.jshintignore migrate js build system to gulp 2016-02-11 22:36:29 +01:00
.jshintrc Fix 2016-04-18 21:18:13 +02:00
bower.json fix bower warning 2016-04-05 20:08:04 +02:00
gulpfile.js add basic basic auth support 2016-03-25 19:48:06 +01:00
karma.conf.js migrate js build system to gulp 2016-02-11 22:36:29 +01:00
package.json lowercase package name 2016-04-11 20:37:42 +02:00
protractor.conf.js use firefox for ci and e2e 2014-05-23 17:55:30 +02:00
README.md requirement update 2016-02-13 18:48:31 +01:00

JavaScript Development

JavaScript is built and minified using gulp.

Therefore you need to install Node.js 5.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
    
  • Watch for changes and run PHP unit tests:

      gulp watch-phpunit