1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 04:15:42 +02:00
Nextcloud-News/js
Bernhard Posselt e30f70a12f test
2014-11-18 18:52:49 +01:00
..
admin update picofeed, add max size setting, fix 2014-11-05 11:30:38 +01:00
app test 2014-11-18 18:52:49 +01:00
build test 2014-11-18 18:51:51 +01:00
controller fix 2014-10-07 15:12:39 +02:00
directive remove tmp file 2014-10-07 17:48:38 +02:00
filter port to es5 and add es6 shims for object prototypes instead 2014-09-11 03:55:52 +02:00
gui only scroll to active navigation entry when it is not in view, if debug mode is defined, dont included minified scripts 2014-11-18 10:47:51 +01:00
service fix 2014-11-16 22:38:23 +01:00
tests fix folderresource mark all read unit test 2014-11-17 11:57:02 +01:00
vendor fix 2014-11-18 17:13:56 +01:00
.bowerrc add basic files for js rewrite 2014-05-15 04:36:40 +02:00
.jshintrc finish content controller 2014-05-30 12:23:34 +02:00
bower.json fix 2014-11-18 17:13:56 +01:00
Gruntfile.js enable other dbs for test suite 2014-11-06 10:25:30 +01:00
karma.conf.js remove angular-animate from build, update bower packages 2014-09-13 03:05:47 +02:00
package.json version bump 2014-11-18 13:27:27 +01:00
protractor.conf.js use firefox for ci and e2e 2014-05-23 17:55:30 +02:00
README.md js update 2014-10-07 13:27:35 +02:00

JavaScript && CSS Development

Before starting, install nodejs 0.10 and grunt-cli:

sudo npm -g install grunt-cli

then run:

npm install

Building

Watch mode:

grunt dev

Single run mode:

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