1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 13:15:42 +02:00
Nextcloud-News/js
John Molakvoæ 79f49fa6f0 Stable13 fixes ()
* Fixed required class for main content

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

* Fixed a external underline

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

* proper scroll area

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

* proper scroll area 2

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

* Fixed transparent settings

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-01-25 10:02:32 +01:00
..
admin Use regular promise for http calls 2017-06-10 11:19:07 +02:00
app Set $locationProvider.hashPrefix to empty string 2017-06-10 11:19:07 +02:00
controller Use regular promise for http calls 2017-06-10 11:19:07 +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 Stable13 fixes () 2018-01-25 10:02:32 +01:00
plugin version bump 2015-01-26 10:50:37 +01:00
service Use regular promise for http calls 2017-06-10 11:19:07 +02: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 Remove bower, install everything using npm () 2017-06-18 12:19:38 +02:00
gulpfile.js Remove bower, install everything using npm () 2017-06-18 12:19:38 +02:00
karma.conf.js Remove bower, install everything using npm () 2017-06-18 12:19:38 +02:00
package-lock.json version bump 2018-01-03 13:27:53 +01:00
package.json version bump 2018-01-03 13:27:53 +01:00
protractor.conf.js Adjust copyright header 2016-07-23 21:32:42 +02:00
README.md Require latest node build deps 2016-04-28 17:09:46 +02: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
    
  • Watch for changes and run PHP unit tests:

      gulp watch-phpunit