1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 13:15:42 +02:00
Nextcloud-News/js
2014-10-04 20:17:14 +02:00
..
app fix update bug 2014-09-19 15:36:08 +02:00
build fix 2014-10-04 13:48:44 +02:00
controller fix 2014-10-04 13:48:44 +02:00
directive fix 2014-10-04 13:48:44 +02:00
filter port to es5 and add es6 shims for object prototypes instead 2014-09-11 03:55:52 +02:00
gui fix keyboard shortcuts when folder active 2014-09-18 16:02:52 +02:00
service update readme 2014-09-18 16:46:07 +02:00
tests fix 2014-10-04 13:48:44 +02:00
vendor update angular 2014-10-04 19:51:40 +02: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 also allow minor patches for es6shim 2014-10-04 20:17:14 +02:00
Gruntfile.js fix line lengths and indention 2014-09-11 17:08:04 +02:00
karma.conf.js remove angular-animate from build, update bower packages 2014-09-13 03:05:47 +02:00
package.json update angular 2014-10-04 19:51:40 +02:00
protractor.conf.js use firefox for ci and e2e 2014-05-23 17:55:30 +02:00
README.md remove traceur docs 2014-09-11 14:33:31 +02:00

JavaScript 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