1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-10 13:15:42 +02:00
Nextcloud-News/js
Bernhard Posselt a4400a1138 fix grid
2016-01-21 23:10:29 +01:00
..
admin fix 2016-01-06 21:59:50 +01:00
app serverside full text 2015-08-12 17:05:18 +02:00
build fix grid 2016-01-21 23:10:29 +01:00
controller more explore 2016-01-21 22:35:24 +01:00
directive fix grid 2016-01-21 23:10:29 +01: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 clean up feed api 2015-11-01 15:16:15 +01:00
tests clean up feed api 2015-11-01 15:16:15 +01:00
vendor more explore 2016-01-21 22:35:24 +01: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 more explore 2016-01-21 22:35:24 +01:00
Gruntfile.js fix 2015-11-13 14:26:10 +01:00
karma.conf.js prefill add feed if url parameter given 2015-02-28 14:17:07 +01:00
package.json update build deps 2016-01-16 18:33:15 +01: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