news/js
Bernhard Posselt aaee988e82 expand contributing 2015-07-10 09:12:31 +02:00
..
admin allow to change the explore service url 2014-11-19 18:13:43 +01:00
app implement clientside search code 2015-03-21 13:36:50 +01:00
build fix comments 2015-06-05 11:52:44 +02:00
controller try to fix out of syn issue 2015-05-28 15:42:32 +02:00
directive use system notifications, fix #779 2015-05-02 10:19:28 +02:00
filter port to es5 and add es6 shims for object prototypes instead 2014-09-11 03:55:52 +02:00
gui fix comments 2015-06-05 11:52:44 +02:00
plugin version bump 2015-01-26 10:50:37 +01:00
service fix autopaging in search 2015-03-21 13:36:50 +01:00
tests fix #156 2015-03-30 16:20:05 +02:00
vendor downgrade angular because of regressions 2015-05-28 17:25:33 +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
Gruntfile.js try to add back code coverage 2015-04-30 14:05:17 +02:00
README.md expand contributing 2015-07-10 09:12:31 +02:00
bower.json downgrade angular because of regressions 2015-05-28 17:25:33 +02:00
karma.conf.js prefill add feed if url parameter given 2015-02-28 14:17:07 +01:00
package.json update js 2015-05-28 14:25:28 +02:00
protractor.conf.js use firefox for ci and e2e 2014-05-23 17:55:30 +02:00

README.md

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