news/js
Bernhard Posselt 778b1e7014 parse request token from head element directly 2017-02-15 22:17:20 +01:00
..
admin Adjust copyright header 2016-07-23 21:32:42 +02:00
app parse request token from head element directly 2017-02-15 22:17:20 +01:00
controller Adjust copyright header 2016-07-23 21:32:42 +02:00
directive some final renaming fixes 2016-07-23 22:04:59 +02:00
filter Adjust copyright header 2016-07-23 21:32:42 +02:00
gui change OC references (#98) 2017-02-15 16:32:57 +01:00
plugin version bump 2015-01-26 10:50:37 +01:00
service Adjust copyright header 2016-07-23 21:32:42 +02:00
tests Adjust copyright header 2016-07-23 21:32:42 +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 #791 2016-04-18 21:18:13 +02:00
README.md Require latest node build deps 2016-04-28 17:09:46 +02:00
bower.json removing owncloud references and updating links 2016-07-23 22:02:21 +02:00
gulpfile.js Adjust copyright header 2016-07-23 21:32:42 +02:00
karma.conf.js migrate js build system to gulp 2016-02-11 22:36:29 +01:00
package.json update deps 2016-12-10 15:59:36 +01:00
protractor.conf.js Adjust copyright header 2016-07-23 21:32:42 +02:00

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
    
  • Watch for changes and run PHP unit tests:

      gulp watch-phpunit