1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-03-16 03:15:43 +01:00
Nextcloud-News/js
2015-10-17 15:42:05 +00:00
..
admin allow to change the explore service url 2014-11-19 18:13:43 +01:00
app serverside full text 2015-08-12 17:05:18 +02:00
build Tweak CSS to align settings better (issue ) 2015-10-17 15:42:05 +00:00
controller fix # 848 2015-09-06 15:42:51 +02:00
directive fix 2015-10-03 17:42:49 +02:00
filter port to es5 and add es6 shims for object prototypes instead 2014-09-11 03:55:52 +02:00
gui also make go to previous article shortcuts fuzzier, 2015-09-12 23:12:51 +02:00
plugin version bump 2015-01-26 10:50:37 +01:00
service fix # 848 2015-09-06 15:42:51 +02:00
tests fix # 848 2015-09-06 15:42:51 +02:00
vendor update js deps 2015-09-26 11:43:36 +02:00
.bowerrc add basic files for js rewrite 2014-05-15 04:36:40 +02:00
.jshintrc automatically register content handler for feeds in firefox 2015-02-28 15:29:18 +01:00
bower.json downgrade angular because of regressions 2015-05-28 17:25:33 +02:00
Gruntfile.js try to fix travis 2015-09-14 20:06:59 +02:00
karma.conf.js prefill add feed if url parameter given 2015-02-28 14:17:07 +01:00
package.json update node deps 2015-09-26 11:47:08 +02:00
protractor.conf.js use firefox for ci and e2e 2014-05-23 17:55:30 +02:00
README.md expand contributing 2015-07-10 09:12:31 +02:00

JavaScript && CSS Development

Before starting, install nodejs and grunt-cli:

sudo npm -g install grunt-cli

then run:

npm install

Building

This sets up a watcher on file change and compiles CSS and JS:

grunt dev

If you don't want a watcher, just run:

grunt

Testing

Watch mode:

grunt php
grunt test

Single run mode:

grunt phpunit
grunt ci-unit

Running e2e tests

Install protractor and set up selenium:

sudo npm install -g protractor
sudo webdriver-manager update

then the tests can be started with:

grunt e2e